sharlatan pushed a commit to branch go-team
in repository guix.

commit 297b03e6e7acd17fccf0542b044c6aeea2d5a93c
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Jan 23 17:20:27 2025 +0000

    gnu: Add go-github-com-tomwright-dasel-v2.
    
    * gnu/packages/golang-xyz.scm (go-github-com-tomwright-dasel-v2): New 
variable.
    
    Change-Id: I92e2cc4d4e04663d425cc0719c6f9faf84bfe905
---
 gnu/packages/golang-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 5fc38079be..73244a8de9 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -14440,6 +14440,41 @@ supported by the time package
 @end itemize")
     (license license:expat)))
 
+(define-public go-github-com-tomwright-dasel-v2
+  (package
+    (name "go-github-com-tomwright-dasel-v2")
+    (version "2.8.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/TomWright/dasel";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1qh32gq0x0lc4j4w326skxw4nblf2v71ychd8dk6h3ra5d22bbmy"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:go go-1.22
+      #:embed-files #~(list ".*\\.xml")
+      #:import-path "github.com/tomwright/dasel/v2"))
+    (propagated-inputs
+     (list go-github-com-alecthomas-chroma-v2
+           go-github-com-clbanning-mxj-v2
+           go-github-com-pelletier-go-toml-v2
+           go-github-com-spf13-cobra
+           go-golang-org-x-net
+           go-golang-org-x-text
+           go-gopkg-in-yaml-v3))
+    (home-page "https://github.com/tomwright/dasel";)
+    (synopsis "Tool to work with JSON, TOML, YAML, XML and CSV files")
+    (description
+     "Dasel (short for data-selector) allows you to query and modify data
+structures using selector strings.  It's similar to @code{jq}/@code{yq}, but
+supports JSON, YAML, TOML, XML and CSV with zero runtime dependencies.")
+    (license license:expat)))
+
 (define-public go-github-com-twpayne-go-shell
   (package
     (name "go-github-com-twpayne-go-shell")

Reply via email to