guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 29c9d5db4085a07e3f85d373ee8d1449fc5f6a59
Author: Patrick Norton <[email protected]>
AuthorDate: Mon Nov 24 18:02:02 2025 -0500

    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 <[email protected]>
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 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 a5868cfb6b..d157b69593 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")

Reply via email to