From 8ee3669af48d78c919b42b124eb05d7d2bf2a2d0 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 25 Sep 2024 15:16:40 +0100 Subject: gnu: go-github-com-dustin-go-humanize: Move to golang-xyz. * gnu/packages/golang.scm (go-github-com-dustin-go-humanize): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. * gnu/packages/uucp.scm: Add golang-xyz module. Change-Id: Ic0913615d559ec255bf98abfab99383edf3c9a84 --- gnu/packages/golang-xyz.scm | 25 +++++++++++++++++++++++++ gnu/packages/golang.scm | 24 ------------------------ gnu/packages/uucp.scm | 1 + 3 files changed, 26 insertions(+), 24 deletions(-) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 832e56b042..00361fec30 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2020 Joseph LaFreniere ;;; Copyright © 2020 Oleg Pykhalov ;;; Copyright © 2020, 2021 raingloom +;;; Copyright © 2021 Arun Isaac ;;; Copyright © 2021 Collin J. Doering ;;; Copyright © 2021 Guillaume Le Vaillant ;;; Copyright © 2021 Guix Together @@ -2399,6 +2400,30 @@ (define-public go-github-com-dustin-gojson scanner API made public.") (license license:bsd-3))) +(define-public go-github-com-dustin-go-humanize + (package + (name "go-github-com-dustin-go-humanize") + (version "1.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dustin/go-humanize") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1iyhd90pnmxh64nhsh6k02c1b1glpmhh4whga9jgb9g0i5hz3sya")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/dustin/go-humanize")) + (home-page "https://github.com/dustin/go-humanize") + (synopsis "Humane unit formatter") + (description + "@code{go-humanize} provides formatters for units to human friendly +sizes. It converts boring ugly numbers to human-friendly strings and back.") + (license license:expat))) + (define-public go-github-com-edsrzf-mmap-go (package (name "go-github-com-edsrzf-mmap-go") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 5402adf0fa..7dd5d93097 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -6905,30 +6905,6 @@ (define-public go-github-com-davecgh-go-xdr 4506 (obsoletes RFC 1832 and RFC 1014) in pure Go.") (license license:isc))) -(define-public go-github-com-dustin-go-humanize - (package - (name "go-github-com-dustin-go-humanize") - (version "1.0.1") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/dustin/go-humanize") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1iyhd90pnmxh64nhsh6k02c1b1glpmhh4whga9jgb9g0i5hz3sya")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/dustin/go-humanize")) - (home-page "https://github.com/dustin/go-humanize") - (synopsis "Humane unit formatter") - (description "@code{go-humanize} provides formatters for units to human -friendly sizes. It converts boring ugly numbers to human-friendly strings and -back.") - (license license:expat))) - (define-public go-gopkg-in-djherbis-times-v1 (package (name "go-gopkg-in-djherbis-times-v1") diff --git a/gnu/packages/uucp.scm b/gnu/packages/uucp.scm index 34de6bdec9..96949f01e9 100644 --- a/gnu/packages/uucp.scm +++ b/gnu/packages/uucp.scm @@ -23,6 +23,7 @@ (define-module (gnu packages uucp) #:use-module (gnu packages golang-compression) #:use-module (gnu packages golang-crypto) #:use-module (gnu packages golang-web) + #:use-module (gnu packages golang-xyz) #:use-module (gnu packages texinfo) #:use-module (guix licenses) #:use-module (guix packages) -- cgit v1.2.3