~ruther/guix-local

29c9d5db4085a07e3f85d373ee8d1449fc5f6a59 — Patrick Norton 2 months ago 13d0fb4
gnu: Add go-github-com-willscott-go-nfs.

* gnu/packages/golang-web.scm (go-github-com-willscott-go-nfs): New
variable.

Change-Id: I7ddfb3df7e9079d68f1a85eabdcea57bf8f23081
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 36 insertions(+), 0 deletions(-)

M gnu/packages/golang-web.scm
M gnu/packages/golang-web.scm => gnu/packages/golang-web.scm +36 -0
@@ 13925,6 13925,42 @@ https://github.com/restic/restic project.")
netmasks.")
    (license license:expat)))

(define-public go-github-com-willscott-go-nfs
  (package
    (name "go-github-com-willscott-go-nfs")
    (version "0.0.3")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/willscott/go-nfs")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "13iqjvy9daslg5a7lxafj1xad0ps5d2vcv9076sfa6fljzd6hzb6"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/willscott/go-nfs"
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'remove-examples
            (lambda* (#:key import-path #:allow-other-keys)
              (with-directory-excursion (string-append "src/" import-path)
                (delete-file-recursively "example")))))))
    (propagated-inputs
     (list go-github-com-go-git-go-billy-v5
           go-github-com-google-uuid
           go-github-com-hashicorp-golang-lru-v2
           go-github-com-rasky-go-xdr
           go-github-com-willscott-go-nfs-client
           go-golang-org-x-sys))
    (home-page "https://github.com/willscott/go-nfs")
    (synopsis "Golang Network File Server")
    (description
     "This package implements a NFSv3 protocol implementation in pure Golang.")
    (license license:asl2.0)))

(define-public go-github-com-willscott-go-nfs-client
  (package
    (name "go-github-com-willscott-go-nfs-client")