From a20928cbafcf747dab5aa26869b116f58bb7d529 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 19 Dec 2024 12:18:58 +0000 Subject: [PATCH] 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 --- gnu/packages/golang-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++ gnu/packages/golang.scm | 38 ------------------------------------ 2 files changed, 39 insertions(+), 38 deletions(-) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 2d826d5f2c..bf30ac7a78 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -36,6 +36,7 @@ ;;; Copyright © 2022 Leo Nikkilä ;;; Copyright © 2022 kiasoc5 ;;; Copyright © 2023 Benjamin +;;; Copyright © 2023 Felix Lechner ;;; Copyright © 2023 Fries ;;; Copyright © 2023 Hilton Chain ;;; Copyright © 2023 Katherine Cox-Buday @@ -4482,6 +4483,44 @@ underneath and returns only matching files or direcories, depending on the configuration.") (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 (package (name "go-github-com-hashicorp-errwrap") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index e4ddb4f00d..4cb302a562 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -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.") (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 (let ((commit "245c9e0234cb2ad542483a336324e982f1a22934") (revision "0"))