guix_mirror_bot pushed a commit to branch master
in repository guix.

commit bfc731d3c18e8fb273c0385dc1d1eaf9cadea1bf
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Nov 30 21:49:42 2025 +0000

    gnu: Add go-github-com-winfsp-cgofuse.
    
    * gnu/packages/golang-xyz.scm (go-github-com-winfsp-cgofuse): New variable.
    
    Change-Id: Ic807845a434faf413d7edf500b5b1cc2f815833c
---
 gnu/packages/golang-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index f59cfed0b8..d50a121c5b 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -23031,6 +23031,45 @@ XOR, as in kademlia.")
 @code{MemoryInfo}.")
     (license license:expat)))
 
+(define-public go-github-com-winfsp-cgofuse
+  (package
+    (name "go-github-com-winfsp-cgofuse")
+    (version "1.5.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/winfsp/cgofuse";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0wqxn3plbp6rabmyfyxamjl0ilm0n5pkiwhsvnbrx9pcpmlc1b0p"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:skip-build? #t
+      #:tests? #f ;XXX: panic: cgofuse: cannot find FUSE
+      #:import-path "github.com/winfsp/cgofuse"
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'remove-examples
+            (lambda* (#:key import-path #:allow-other-keys)
+              (delete-file-recursively
+               (string-append "src/" import-path "/examples")))))))
+    (propagated-inputs
+     (list fuse fuse-2))
+    (home-page "https://github.com/winfsp/cgofuse";)
+    (synopsis "Cross-platform FUSE library for Golang")
+    (description
+     "Cgofuse is a cross-platform FUSE library for Go.  It is supported on
+multiple platforms and can be ported to any platform that has a FUSE
+implementation.  It has @url{https://pkg.go.dev/cmd/cgo, cgo},
+@url{https://go.dev/wiki/WindowsDLLs, !cgo} (aka \"nocgo\") and
+@url{https://github.com/libfuse/libfuse/tree/fuse-2.9.9, FUSE} (aka
+\"FUSE2\"), @url{https://github.com/libfuse/libfuse, FUSE3} variants depending
+on the platform.")
+    (license license:expat)))
+
 (define-public go-github-com-workiva-go-datastructures
   (package
     (name "go-github-com-workiva-go-datastructures")

Reply via email to