From 9ff927d42d9da3bf78faaaac18e34a0e55991447 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 24 Nov 2024 10:39:57 +0000 Subject: [PATCH] gnu: go-github-com-spf13-afero: Move to golang-xyz. * gnu/packages/golang.scm (go-github-com-spf13-afero): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. Change-Id: I9c4fe91acd0e09eb588664f01ec745d229178488 --- gnu/packages/golang-xyz.scm | 28 ++++++++++++++++++++++++++++ gnu/packages/golang.scm | 26 -------------------------- 2 files changed, 28 insertions(+), 26 deletions(-) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index a0ae53bebf..12e495b5e0 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -7205,6 +7205,34 @@ (define-public go-github-com-soniakeys-quant "Quant provides an interface for image color quantizers.") (license license:expat))) +(define-public go-github-com-spf13-afero + (package + (name "go-github-com-spf13-afero") + ;; TODO: It's the latest version which does not require + ;; google.golang.org/api, pulling 400+ missing dependencies. + (version "1.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/spf13/afero") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0yi8p0yxiidpcg4cagxg2iyqcaapsng89rak4qyxmgails2fqg37")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/spf13/afero")) + (propagated-inputs + (list go-github-com-pkg-sftp + go-golang-org-x-text)) + (home-page "https://github.com/spf13/afero") + (synopsis "File system abstraction for Go") + (description + "This package provides a file system abstraction for Go.") + (license license:asl2.0))) + (define-public go-github-com-spf13-cobra (package (name "go-github-com-spf13-cobra") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index f978fc4847..b759034b98 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -3179,32 +3179,6 @@ (define-public go-github-com-google-cadvisor containers.") (license license:asl2.0)))) -(define-public go-github-com-spf13-afero - (package - (name "go-github-com-spf13-afero") - ;; TODO: It's the latest version which does not require - ;; google.golang.org/api, pulling 400+ missing dependencies. - (version "1.6.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/spf13/afero") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0yi8p0yxiidpcg4cagxg2iyqcaapsng89rak4qyxmgails2fqg37")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/spf13/afero")) - (propagated-inputs (list go-github-com-pkg-sftp go-golang-org-x-text)) - (home-page "https://github.com/spf13/afero") - (synopsis "File system abstraction for Go") - (description - "This package provides a file system abstraction for Go.") - (license license:asl2.0))) - (define-public go-github-com-spf13-cast (package (name "go-github-com-spf13-cast")