sharlatan pushed a commit to branch go-team
in repository guix.

commit 4b513b4ac2567691431125aeaf4a67e2b44fe884
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Sep 25 15:16:40 2024 +0100

    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 bdbf01b830..67fe09a6c8 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2020 Joseph LaFreniere <[email protected]>
 ;;; Copyright © 2020 Oleg Pykhalov <[email protected]>
 ;;; Copyright © 2020, 2021 raingloom <[email protected]>
+;;; Copyright © 2021 Arun Isaac <[email protected]>
 ;;; Copyright © 2021 Collin J. Doering <[email protected]>
 ;;; Copyright © 2021 Guillaume Le Vaillant <[email protected]>
 ;;; Copyright © 2021 Guix Together <[email protected]>
@@ -2375,6 +2376,30 @@ Implements string conversion functionality for unit 
prefixes.
 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 ccd77542f8..50fe79bb72 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6878,30 +6878,6 @@ the External Data Representation (XDR) standard protocol 
as specified in RFC
 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 @@
   #: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)

Reply via email to