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

commit 38378fed62752da3af5fcaf8ce2bcb64f041ac1c
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Nov 24 12:06:21 2024 +0000

    gnu: go-github-com-twpayne-go-vfs: Move to golang-xyz.
    
    * gnu/packages/golang.scm (go-github-com-twpayne-go-vfs): Move from here ...
    * gnu/packages/golang-xyz.scm: ... to here.
    
    Change-Id: I17966b165d427dcaed1ee06c7b2c32b153f9d2cd
---
 gnu/packages/golang-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
 gnu/packages/golang.scm     | 33 ---------------------------------
 2 files changed, 34 insertions(+), 33 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 83de8587e2..45c1142eb5 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -7582,6 +7582,40 @@ supported by the time package
 @end itemize")
     (license license:expat)))
 
+(define-public go-github-com-twpayne-go-vfs
+  (package
+    (name "go-github-com-twpayne-go-vfs")
+    (version "5.0.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/twpayne/go-vfs";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "152hbb6ww2f2ac2bf1d446vw8z8m22n1rsa7gvlzfa060vj9hjgx"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/twpayne/go-vfs"
+      #:phases
+      #~(modify-phases %standard-phases
+          ;; XXX: Replace when go-build-system supports nested path.
+          (replace 'check
+            (lambda* (#:key import-path tests? #:allow-other-keys)
+              (when tests?
+                (with-directory-excursion (string-append "src/" import-path)
+                  (invoke "go" "test" "-v" "./..."))))))))
+    (native-inputs
+     (list go-github-com-alecthomas-assert-v2))
+    (home-page "https://github.com/twpayne/go-vfs/";)
+    (synopsis "Abstraction of the @code{os} and @code{ioutil} Go packages")
+    (description
+     "Package @code{vfs} provides an abstraction of the @code{os} and
+@code{ioutil} packages that is easy to test.")
+    (license license:expat)))
+
 (define-public go-github-com-vitrun-qart
   (let ((commit "bf64b92db6b05651d6c25a3dabf2d543b360c0aa")
         (revision "0"))
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f8c69ba6ff..90cb412308 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5920,39 +5920,6 @@ temporal directories.")
      "Package @code{shell} returns a user's shell across multiple platforms.")
     (license license:expat)))
 
-(define-public go-github-com-twpayne-go-vfs
-  (package
-    (name "go-github-com-twpayne-go-vfs")
-    (version "5.0.4")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/twpayne/go-vfs";)
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "152hbb6ww2f2ac2bf1d446vw8z8m22n1rsa7gvlzfa060vj9hjgx"))))
-    (build-system go-build-system)
-    (arguments
-     (list
-      #:import-path "github.com/twpayne/go-vfs"
-      #:phases
-      #~(modify-phases %standard-phases
-          ;; XXX: Replace when go-build-system supports nested path.
-          (replace 'check
-            (lambda* (#:key import-path tests? #:allow-other-keys)
-              (when tests?
-                (with-directory-excursion (string-append "src/" import-path)
-                  (invoke "go" "test" "-v" "./..."))))))))
-    (native-inputs
-     (list go-github-com-alecthomas-assert-v2))
-    (home-page "https://github.com/twpayne/go-vfs/";)
-    (synopsis "Abstraction of the @code{os} and @code{ioutil} Go packages")
-    (description "Package @code{vfs} provides an abstraction of the @code{os}
-and @code{ioutil} packages that is easy to test.")
-    (license license:expat)))
-
 (define-public go-github-com-twpayne-go-vfsafero
   (package
     (name "go-github-com-twpayne-go-vfsafero")

Reply via email to