gnu: Add go-github-com-danielgtaylor-shorthand-v2.

* gnu/packages/golang-xyz.scm (go-github-com-danielgtaylor-shorthand-v2):
New variable.

Change-Id: I8f79be5cc71ed2c548539698f70061fad0f0ce59
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Aleksandr Lebedev 2025-11-09 22:45:14 +00:00 committed by Sharlatan Hellseher
parent 2880ca0d34
commit d8e9bf8209
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -5578,6 +5578,44 @@ for use in templating languages (e.g. for-loop variable selection,
if-statement evaluation) so is minimal in what it supports by design.")
(license license:expat)))
(define-public go-github-com-danielgtaylor-shorthand-v2
(package
(name "go-github-com-danielgtaylor-shorthand-v2")
(version "2.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/danielgtaylor/shorthand")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "17s4jjzfz10lavwnir8cd6nwsf15hrm38y87f7w2pi9hv40x7vn9"))
(modules '((guix build utils)))
(snippet
#~(begin
;; Submodules with their own go.mod files and packaged separately:
;;
;; - github.com/danielgtaylor/shorthand/cmd/j
(delete-file-recursively "cmd")))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/danielgtaylor/shorthand/v2"
#:test-flags
#~(list "-vet=off"))) ;Go@1.24 forces vet, but tests are not ready yet.
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-fxamacker-cbor-v2
go-github-com-danielgtaylor-mexpr))
(home-page "https://github.com/danielgtaylor/shorthand")
(synopsis "Structured Data Shorthand Syntax")
(description
"Shorthand is a superset and friendlier variant of JSON designed with
several use-cases in mind..")
(license license:expat)))
(define-public go-github-com-dannav-hhmmss
(package
(name "go-github-com-dannav-hhmmss")