~ruther/guix-local

c164488363e04830b2631964328cd54e121214f8 — Patrick Norton 4 months ago 85cf4b7
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 <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 37 insertions(+), 0 deletions(-)

M gnu/packages/golang-web.scm
M gnu/packages/golang-web.scm => gnu/packages/golang-web.scm +37 -0
@@ 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")