From 29c9d5db4085a07e3f85d373ee8d1449fc5f6a59 Mon Sep 17 00:00:00 2001 From: Patrick Norton Date: Mon, 24 Nov 2025 18:02:02 -0500 Subject: [PATCH] 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 Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-web.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index a5868cfb6b35d531a9e16fca32cb53b9f35aedac..d157b69593fd711c9e3be0bb4972ed985a34bce5 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -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")