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

commit 3c807af53af39023983ba3b495704138b402b348
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Dec 29 21:45:43 2024 +0000

    gnu: go-github-com-pkg-diff: Move to golang-xyz.
    
    * gnu/packages/golang.scm (go-github-com-pkg-diff): Move from here ...
    * gnu/packages/golang-xyz.scm: ... to here.
    
    Change-Id: I0db7f5cf44a11e53ec19575a4c2d1d4917658276
---
 gnu/packages/golang-xyz.scm | 23 +++++++++++++++++++++++
 gnu/packages/golang.scm     | 22 ----------------------
 2 files changed, 23 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index d46d7dee63..f8aeb8f8fd 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -9979,6 +9979,29 @@ on top of the standard library @code{flag} package.")
 Pion}.")
     (license license:expat)))
 
+(define-public go-github-com-pkg-diff
+  (package
+    (name "go-github-com-pkg-diff")
+    (version "0.0.0-20241224192749-4e6772a4315c")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/pkg/diff";)
+             (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1iwaa6g3mbbi1k6rw7fn85sg6lm6rlnjz07yb91hq1kll6494s18"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/pkg/diff"))
+    (home-page "https://github.com/pkg/diff/";)
+    (synopsis "Create and print diffs")
+    (description
+     "This package provides a Go library to create and print diffs.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-polydawn-refmt
   (package
     (name "go-github-com-polydawn-refmt")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 036891bfdc..d4331c2537 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4322,28 +4322,6 @@ can manipulate a @file{ssh_config} file from a program.")
 temporal directories.")
       (license license:expat))))
 
-(define-public go-github-com-pkg-diff
-  (package
-    (name "go-github-com-pkg-diff")
-    (version "0.0.0-20241224192749-4e6772a4315c")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/pkg/diff";)
-                    (commit (go-version->git-ref version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "1iwaa6g3mbbi1k6rw7fn85sg6lm6rlnjz07yb91hq1kll6494s18"))))
-    (build-system go-build-system)
-    (arguments
-     `(#:import-path "github.com/pkg/diff"))
-    (home-page "https://github.com/pkg/diff/";)
-    (synopsis "Create and print diffs")
-    (description
-     "This package provides a Go library to create and print diffs.")
-    (license license:bsd-3)))
-
 (define-public go-github-com-twpayne-go-shell
   (package
     (name "go-github-com-twpayne-go-shell")

Reply via email to