summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-07 12:06:50 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-22 20:13:01 +0100
commit1fc01b4e8774a7b7d461a50cab0e589992ba673a (patch)
tree64781954a93eac2db433bf54a8fcc4f97defcf5c
parent906b1ef5e9caf364c0331a0609c6c5adbf6664a5 (diff)
gnu: Add go-github-com-vbatts-go-mtree.
* gnu/packages/golang-xyz.scm (go-github-com-vbatts-go-mtree, go-mtree): New variables. Change-Id: I472cd4de024a6ad0b8ef3d52a12337f07fdcef7a
-rw-r--r--gnu/packages/golang-xyz.scm53
1 files changed, 53 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 992d5fbf27..d27d01621d 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -17448,6 +17448,43 @@ anti-fragmentation protection.")
"Package fasttemplate implements simple and fast template library.")
(license license:expat)))
+(define-public go-github-com-vbatts-go-mtree
+ (package
+ (name "go-github-com-vbatts-go-mtree")
+ (version "0.5.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vbatts/go-mtree")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "18m6dlhl9kl0wy0dficc5yy75qj58z315bcnaypgrm877vmzad9h"))
+ (snippet
+ #~(begin (use-modules (guix build utils))
+ (delete-file-recursively "vendor")))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/vbatts/go-mtree"))
+ (native-inputs
+ (list go-github-com-davecgh-go-spew))
+ (propagated-inputs
+ (list go-github-com-fatih-color
+ go-github-com-sirupsen-logrus
+ go-github-com-urfave-cli-v2
+ go-golang-org-x-crypto
+ go-golang-org-x-sys))
+ (home-page "https://github.com/vbatts/go-mtree")
+ (synopsis "File systems verification utility and library")
+ (description
+ "@code{mtree} is a filesystem hierarchy validation tooling and format.
+This is a library and simple CLI tool for
+@url{https://www.freebsd.org/cgi/man.cgi?mtree(8), mtree(8)} implemented in
+Go.")
+ (license license:bsd-3)))
+
(define-public go-github-com-vburenin-ifacemaker
(package
(name "go-github-com-vburenin-ifacemaker")
@@ -21279,6 +21316,22 @@ tool."))))
" This package provides an command line interface (CLI)
tool."))))
+(define-public go-mtree
+ (package/inherit go-github-com-vbatts-go-mtree
+ (name "go-mtree")
+ (arguments
+ (substitute-keyword-arguments
+ (package-arguments go-github-com-vbatts-go-mtree)
+ ((#:tests? _ #t) #f)
+ ((#:install-source? _ #t) #f)
+ ((#:skip-build? _ #t) #f)
+ ((#:import-path _) "github.com/vbatts/go-mtree/cmd/gomtree")
+ ((#:unpack-path _ "") "github.com/vbatts/go-mtree")))
+ (native-inputs
+ (package-propagated-inputs go-github-com-vbatts-go-mtree))
+ (propagated-inputs '())
+ (inputs '())))
+
(define-public go-numcpus
(package
(inherit go-github-com-tklauser-numcpus)