mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
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:
parent
2880ca0d34
commit
d8e9bf8209
1 changed files with 38 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue