summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Rodrigues <arthurhdrodrigues@proton.me>2025-11-05 00:01:40 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-09 09:10:06 +0000
commit342893c0016c50ba46fd04ae2c0f13a7b2de74e6 (patch)
treeba84e402ffd1b87f12107d9ef6b73a4cc9809c2f
parent63a9664f13d01582a9e7b1bfc37681fa2437ee93 (diff)
gnu: Add go-github-com-mistifyio-go-zfs-v3.
* gnu/packages/golang-xyz.scm (go-github-com-mistifyio-go-zfs-v3): New variable. Change-Id: Idc82619f7e1d74e056a3cf531cf48dc05334f79e Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/golang-xyz.scm42
1 files changed, 42 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index e7177ca758f..bbbfb41b8e2 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -14825,6 +14825,48 @@ requests. Browse requests are not supported yet.")
"The datacounter package provides counters for Go readers and writers.")
(license license:expat)))
+(define-public go-github-com-mistifyio-go-zfs-v3
+ (package
+ (name "go-github-com-mistifyio-go-zfs-v3")
+ (version "3.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mistifyio/go-zfs")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "19vkrfasps8ixkkzxa2kqfqk0gn52zmc2pkx0mfiy6mjq62b4wl1"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/mistifyio/go-zfs"
+ #:test-flags
+ ;; The following tests need zpool executable
+ #~(list "-skip" (string-join
+ (list "TestDatasets"
+ "TestChildren"
+ "TestClone"
+ "TestCreateFilesystemWithProperties"
+ "TestDatasetGetProperty"
+ "TestDiff"
+ "TestFilesystems"
+ "TestListZpool"
+ "TestRollback"
+ "TestSendSnapshot"
+ "TestSnapshot"
+ "TestSnapshots"
+ "TestVolumes")
+ "|"))))
+ (propagated-inputs
+ (list go-github-com-google-uuid))
+ (home-page "https://github.com/mistifyio/go-zfs")
+ (synopsis "ZFS wrapper for Golang")
+ (description
+ "This package provides wrappers around the ZFS command line tools.")
+ (license license:asl2.0)))
+
(define-public go-github-com-mitchellh-cli
(package
(name "go-github-com-mitchellh-cli")