diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-05 20:38:54 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-05 20:45:11 +0000 |
| commit | 46ef0552fdc664b664c9f243a0895e6ff87e2b2b (patch) | |
| tree | 2aa41da0667a82f0bf5a755dd69200522cee8841 | |
| parent | 33ee29bc87ea5a7fe8c52114c92409dfc987dd43 (diff) | |
gnu: Add go-github-com-masterminds-sprig.
* gnu/packages/golang-xyz.scm (go-github-com-masterminds-sprig): New variable.
(go-github-com-masterminds-sprig-v3): Inherit from go-github-com-masterminds-sprig.
Change-Id: Ie6349be6ebced2c4688dee0463cc635b101bfd93
| -rw-r--r-- | gnu/packages/golang-xyz.scm | 47 |
1 files changed, 38 insertions, 9 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 390945eb778..3ea3006e97e 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -15174,8 +15174,45 @@ semantic versions. Specifically it provides the ability to: @end itemize") (license license:expat))) +(define-public go-github-com-masterminds-sprig + (package + (name "go-github-com-masterminds-sprig") + (version "2.22.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Masterminds/sprig") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "09dzwhj4zh3p6f1jhyic16n4qdnvpamz7hyk9fycpm4b1jfq63gd")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/Masterminds/sprig" + #:test-flags + #~(list "-skip" "TestCamelCase|TestShuffle|TestGetHostByName"))) + (native-inputs + (list go-github-com-stretchr-testify)) + (propagated-inputs + (list go-github-com-google-uuid + go-github-com-huandu-xstrings + go-github-com-imdario-mergo + go-github-com-masterminds-goutils + go-github-com-masterminds-semver + go-github-com-mitchellh-copystructure + go-golang-org-x-crypto)) + (home-page "https://github.com/Masterminds/sprig/") + (synopsis "Template functions for Go templates") + (description + "Sprig is a library that provides more than 100 commonly used template +functions.") + (license license:expat))) + (define-public go-github-com-masterminds-sprig-v3 (package + (inherit go-github-com-masterminds-sprig) (name "go-github-com-masterminds-sprig-v3") (version "3.3.0") (source @@ -15192,8 +15229,6 @@ semantic versions. Specifically it provides the ability to: (list #:import-path "github.com/Masterminds/sprig/v3" #:test-flags #~(list "-skip" "TestGetHostByName"))) - (native-inputs - (list go-github-com-stretchr-testify)) (propagated-inputs (list go-dario-cat-mergo go-github-com-google-uuid @@ -15203,13 +15238,7 @@ semantic versions. Specifically it provides the ability to: go-github-com-mitchellh-copystructure go-github-com-shopspring-decimal go-github-com-spf13-cast - go-golang-org-x-crypto)) - (home-page "https://github.com/Masterminds/sprig/") - (synopsis "Template functions for Go templates") - (description - "Sprig is a library that provides more than 100 commonly used template -functions.") - (license license:expat))) + go-golang-org-x-crypto)))) (define-public go-github-com-masterminds-squirrel (package |
