guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/14: gnu: go-github-com-google-renameio: Move to golang-xyz.


From: guix-commits
Subject: 05/14: gnu: go-github-com-google-renameio: Move to golang-xyz.
Date: Fri, 23 Aug 2024 13:39:13 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit 0f7a5ae887017aa6dc33a661aa238d33e6eab640
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Aug 23 15:47:52 2024 +0100

    gnu: go-github-com-google-renameio: Move to golang-xyz.
    
    * gnu/packages/golang.scm (go-github-com-google-renameio,
    go-github-com-google-renameio-v2): Move from here ...
    * gnu/packages/golang-xyz.scm: ... to here.
    
    Change-Id: I38a9f57ab28501b87d517e098d6afdc0c414f6e9
---
 gnu/packages/golang-xyz.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 gnu/packages/golang.scm     | 39 ---------------------------------------
 2 files changed, 42 insertions(+), 39 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index c4d398fd92..0b9ebde3e1 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -36,6 +36,7 @@
 ;;; Copyright © 2023 Timo Wilken <guix@twilken.net>
 ;;; Copyright © 2023 Wilko Meyer <w@wmeyer.eu>
 ;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
+;;; Copyright © 2024 Brian Kubisiak <brian@kubisiak.com>
 ;;; Copyright © 2024 Herman Rimm <herman@rimm.ee>
 ;;; Copyright © 2024 Jean Simard <woshilapin@tuziwo.info>
 ;;; Copyright © 2024 Jesse Eisses <jesse@eisses.email>
@@ -2680,6 +2681,47 @@ non-blocking @code{TryLock} function to allow locking 
without blocking
 execution.")
     (license license:bsd-3)))
 
+(define-public go-github-com-google-renameio
+  (package
+    (name "go-github-com-google-renameio")
+    (version "1.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/google/renameio";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1qn84nra9nxqyqg4i496b6ijbhnxvx66hdndwl7qh7r6q8lz2ba5"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/google/renameio"))
+    (home-page "https://github.com/google/renameio/";)
+    (synopsis "Atomically create or replace a file or symbolic link")
+    (description
+     "@code{renameio} Go package provides a way to atomically create or
+replace a file or symbolic link.")
+    (license license:asl2.0)))
+
+(define-public go-github-com-google-renameio-v2
+  (package/inherit go-github-com-google-renameio
+    (name "go-github-com-google-renameio-v2")
+    (version "2.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/google/renameio";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "13vc7p43zz5pmgli4k18b15khxpca1zd8v1ga0ryq7ddyz55fg7i"))))
+    (arguments
+     (list
+      #:import-path "github.com/google/renameio/v2"))))
+
 (define-public go-github-com-google-subcommands
   (package
     (name "go-github-com-google-subcommands")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6cf873d79d..55cff297cf 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5544,45 +5544,6 @@ and from termios translations, readCh, reading 
passwords, etc.")
 into URL query parameters.")
       (license license:bsd-3))))
 
-(define-public go-github-com-google-renameio
-  (package
-    (name "go-github-com-google-renameio")
-    (version "1.0.1")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/google/renameio";)
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "1qn84nra9nxqyqg4i496b6ijbhnxvx66hdndwl7qh7r6q8lz2ba5"))))
-    (build-system go-build-system)
-    (arguments
-     `(#:import-path "github.com/google/renameio"))
-    (home-page "https://github.com/google/renameio/";)
-    (synopsis "Atomically create or replace a file or symbolic link")
-    (description "@code{renameio} Go package provides a way to atomically
-create or replace a file or symbolic link.")
-    (license license:asl2.0)))
-
-(define-public go-github-com-google-renameio-v2
-  (package/inherit go-github-com-google-renameio
-    (name "go-github-com-google-renameio-v2")
-    (version "2.0.0")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/google/renameio";)
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "13vc7p43zz5pmgli4k18b15khxpca1zd8v1ga0ryq7ddyz55fg7i"))))
-    (arguments
-     (list
-      #:import-path "github.com/google/renameio/v2"))))
-
 (define (go-gotest-tools-source version sha256-base32-hash)
   (origin
     (method git-fetch)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]