1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-16 03:50:45 +02:00

gnu: go-github-com-hanwen-go-fuse-v2: Move to golang-xyz.

* gnu/packages/golang.scm (go-github-com-hanwen-go-fuse-v2): Move from
here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: Ic070a2c7aa6b08e53999b20d88358b4cc89fc492
This commit is contained in:
Sharlatan Hellseher 2024-12-19 12:18:58 +00:00
parent d12c7edb32
commit a20928cbaf
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 39 additions and 38 deletions

View file

@ -36,6 +36,7 @@
;;; Copyright © 2022 Leo Nikkilä <hello@lnikki.la> ;;; Copyright © 2022 Leo Nikkilä <hello@lnikki.la>
;;; Copyright © 2022 kiasoc5 <kiasoc5@disroot.org> ;;; Copyright © 2022 kiasoc5 <kiasoc5@disroot.org>
;;; Copyright © 2023 Benjamin <benjamin@uvy.fr> ;;; Copyright © 2023 Benjamin <benjamin@uvy.fr>
;;; Copyright © 2023 Felix Lechner <felix.lechner@lease-up.com>
;;; Copyright © 2023 Fries <fries1234@protonmail.com> ;;; Copyright © 2023 Fries <fries1234@protonmail.com>
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space> ;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
;;; Copyright © 2023 Katherine Cox-Buday <cox.katherine.e@gmail.com> ;;; Copyright © 2023 Katherine Cox-Buday <cox.katherine.e@gmail.com>
@ -4482,6 +4483,44 @@ underneath and returns only matching files or direcories, depending on the
configuration.") configuration.")
(license license:expat))) (license license:expat)))
(define-public go-github-com-hanwen-go-fuse-v2
(package
(name "go-github-com-hanwen-go-fuse-v2")
(version "2.7.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/hanwen/go-fuse")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1fcf94chf9ffgjk0wcpnlz0kfb69m2fwzfn4k348kal75x178aar"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/hanwen/go-fuse/v2"
;; Most of the tests require "/bin/fusermount" to be available which
;; is missed during packaging, limit to some unit tests only.
#:test-subdirs #~(list "internal/..." "splice")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-examples-and-benchmarks
(lambda* (#:key tests? import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(delete-file-recursively "example")
(delete-file-recursively "benchmark")))))))
(propagated-inputs
(list go-github-com-kylelemons-godebug
go-github-com-moby-sys-mountinfo
go-golang-org-x-sync
go-golang-org-x-sys))
(home-page "https://github.com/hanwen/go-fuse")
(synopsis "Go bindings for FUSE filesystems")
(description
"This is a repository containing Go bindings for writing FUSE file systems.")
(license license:bsd-3)))
(define-public go-github-com-hashicorp-errwrap (define-public go-github-com-hashicorp-errwrap
(package (package
(name "go-github-com-hashicorp-errwrap") (name "go-github-com-hashicorp-errwrap")

View file

@ -1260,44 +1260,6 @@ form that bypasses network filtering, allowing the application to work on
networks where it would otherwise be blocked or heavily throttled.") networks where it would otherwise be blocked or heavily throttled.")
(license license:expat))) (license license:expat)))
(define-public go-github-com-hanwen-go-fuse-v2
(package
(name "go-github-com-hanwen-go-fuse-v2")
(version "2.7.2")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/hanwen/go-fuse")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1fcf94chf9ffgjk0wcpnlz0kfb69m2fwzfn4k348kal75x178aar"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/hanwen/go-fuse/v2"
;; Most of the tests require "/bin/fusermount" to be available which
;; is missed during packaging, limit to some unit tests only.
#:test-subdirs #~(list "internal/..." "splice")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-examples-and-benchmarks
(lambda* (#:key tests? import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(delete-file-recursively "example")
(delete-file-recursively "benchmark")))))))
(propagated-inputs (list
go-github-com-kylelemons-godebug
go-github-com-moby-sys-mountinfo
go-golang-org-x-sync
go-golang-org-x-sys))
(home-page "https://github.com/hanwen/go-fuse")
(synopsis "Go bindings for FUSE filesystems")
(description
"This is a repository containing Go bindings for writing FUSE file systems.")
(license license:bsd-3)))
(define-public go-github-com-jacobsa-reqtrace (define-public go-github-com-jacobsa-reqtrace
(let ((commit "245c9e0234cb2ad542483a336324e982f1a22934") (let ((commit "245c9e0234cb2ad542483a336324e982f1a22934")
(revision "0")) (revision "0"))