~ruther/guix-local

342893c0016c50ba46fd04ae2c0f13a7b2de74e6 — Arthur Rodrigues 5 months ago 63a9664
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>
1 files changed, 42 insertions(+), 0 deletions(-)

M gnu/packages/golang-xyz.scm
M gnu/packages/golang-xyz.scm => gnu/packages/golang-xyz.scm +42 -0
@@ 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")