From c164488363e04830b2631964328cd54e121214f8 Mon Sep 17 00:00:00 2001 From: Patrick Norton Date: Mon, 24 Nov 2025 13:53:20 -0500 Subject: [PATCH] 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 Signed-off-by: Sharlatan Hellseher --- 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 5ed26378e7b1d663b7d029d92d7236d41d4c8cb4..1a3b947bf58e885954fb638904e4e3bf6335c868 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")