summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-11-24 10:39:57 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:41:43 +0000
commitee4982bde6f1dadec251ab7cebc998a8b7fa7158 (patch)
tree1868dd3ac4d953d9cd7fe44364153742d85c468f /gnu/packages/golang-xyz.scm
parent9b7f4d0124230f16f89b3c2462c7f26f96df5aba (diff)
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
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm28
1 files changed, 28 insertions, 0 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 @@ Use waterutil with it to work with TUN/TAP packets/frames.")
"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")