From 342893c0016c50ba46fd04ae2c0f13a7b2de74e6 Mon Sep 17 00:00:00 2001 From: Arthur Rodrigues Date: Wed, 5 Nov 2025 00:01:40 +0000 Subject: [PATCH] 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 --- gnu/packages/golang-xyz.scm | 42 +++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index e7177ca758f2827798e503649ebef5794c39d21c..bbbfb41b8e251b6af765b9b54795e3026b5e5fc4 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")