guix_mirror_bot pushed a commit to branch master
in repository guix.
commit c164488363e04830b2631964328cd54e121214f8
Author: Patrick Norton <[email protected]>
AuthorDate: Mon Nov 24 13:53:20 2025 -0500
gnu: Add go-github-com-colinmarc-hdfs-v2.
* gnu/packages/golang-web.scm (go-github-com-colinmarc-hdfs-v2): New
variable.
Change-Id: I982ce8fe87b047d85a0c43c026c383b484a92758
Modified-by: Sharlatan Hellseher <[email protected]>
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/golang-web.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 5ed26378e7..1a3b947bf5 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2977,6 +2977,43 @@ Wasm}.
@end itemize")
(license license:isc)))
+(define-public go-github-com-colinmarc-hdfs-v2
+ (package
+ (name "go-github-com-colinmarc-hdfs-v2")
+ (version "2.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/colinmarc/hdfs")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "01ywhbnxgl2k0dy2ngwa3pci8px0z5ffkn7ar5pajhd6l8vg07w6"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/colinmarc/hdfs/v2"
+ #:test-subdirs
+ ;; XXX: The most of the tests require network access and can't load
+ ;; ambient config.
+ #~(list "hadoopconf"
+ "internal/rpc"
+ "internal/sasl"
+ "internal/transfer")))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (propagated-inputs
+ (list go-github-com-jcmturner-gokrb5-v8
+ go-github-com-pborman-getopt
+ go-google-golang-org-protobuf))
+ (home-page "https://github.com/colinmarc/hdfs")
+ (synopsis "HDFS for Go")
+ (description
+ "This package provides a native, idiomatic interface to HDFS. Where
possible,
+it mimics the functionality and signatures of the standard `os` package.")
+ (license license:expat)))
+
(define-public go-github-com-containerd-containerd-api
(package
(name "go-github-com-containerd-containerd-api")