From 0f7a5ae887017aa6dc33a661aa238d33e6eab640 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 23 Aug 2024 15:47:52 +0100 Subject: 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(-) (limited to 'gnu') 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 ;;; Copyright © 2023 Wilko Meyer ;;; Copyright © 2024 Artyom V. Poptsov +;;; Copyright © 2024 Brian Kubisiak ;;; Copyright © 2024 Herman Rimm ;;; Copyright © 2024 Jean Simard ;;; Copyright © 2024 Jesse Eisses @@ -2680,6 +2681,47 @@ (define-public go-github-com-gofrs-flock 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 @@ (define-public go-github-com-google-go-querystring 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) -- cgit v1.2.3