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: | |||
| 15174 | @end itemize") | 15174 | @end itemize") |
| 15175 | (license license:expat))) | 15175 | (license license:expat))) |
| 15176 | 15176 | ||
| 15177 | (define-public go-github-com-masterminds-sprig | ||
| 15178 | (package | ||
| 15179 | (name "go-github-com-masterminds-sprig") | ||
| 15180 | (version "2.22.0") | ||
| 15181 | (source | ||
| 15182 | (origin | ||
| 15183 | (method git-fetch) | ||
| 15184 | (uri (git-reference | ||
| 15185 | (url "https://github.com/Masterminds/sprig") | ||
| 15186 | (commit (string-append "v" version)))) | ||
| 15187 | (file-name (git-file-name name version)) | ||
| 15188 | (sha256 | ||
| 15189 | (base32 "09dzwhj4zh3p6f1jhyic16n4qdnvpamz7hyk9fycpm4b1jfq63gd")))) | ||
| 15190 | (build-system go-build-system) | ||
| 15191 | (arguments | ||
| 15192 | (list | ||
| 15193 | #:import-path "github.com/Masterminds/sprig" | ||
| 15194 | #:test-flags | ||
| 15195 | #~(list "-skip" "TestCamelCase|TestShuffle|TestGetHostByName"))) | ||
| 15196 | (native-inputs | ||
| 15197 | (list go-github-com-stretchr-testify)) | ||
| 15198 | (propagated-inputs | ||
| 15199 | (list go-github-com-google-uuid | ||
| 15200 | go-github-com-huandu-xstrings | ||
| 15201 | go-github-com-imdario-mergo | ||
| 15202 | go-github-com-masterminds-goutils | ||
| 15203 | go-github-com-masterminds-semver | ||
| 15204 | go-github-com-mitchellh-copystructure | ||
| 15205 | go-golang-org-x-crypto)) | ||
| 15206 | (home-page "https://github.com/Masterminds/sprig/") | ||
| 15207 | (synopsis "Template functions for Go templates") | ||
| 15208 | (description | ||
| 15209 | "Sprig is a library that provides more than 100 commonly used template | ||
| 15210 | functions.") | ||
| 15211 | (license license:expat))) | ||
| 15212 | |||
| 15177 | (define-public go-github-com-masterminds-sprig-v3 | 15213 | (define-public go-github-com-masterminds-sprig-v3 |
| 15178 | (package | 15214 | (package |
| 15215 | (inherit go-github-com-masterminds-sprig) | ||
| 15179 | (name "go-github-com-masterminds-sprig-v3") | 15216 | (name "go-github-com-masterminds-sprig-v3") |
| 15180 | (version "3.3.0") | 15217 | (version "3.3.0") |
| 15181 | (source | 15218 | (source |
| @@ -15192,8 +15229,6 @@ semantic versions. Specifically it provides the ability to: | |||
| 15192 | (list | 15229 | (list |
| 15193 | #:import-path "github.com/Masterminds/sprig/v3" | 15230 | #:import-path "github.com/Masterminds/sprig/v3" |
| 15194 | #:test-flags #~(list "-skip" "TestGetHostByName"))) | 15231 | #:test-flags #~(list "-skip" "TestGetHostByName"))) |
| 15195 | (native-inputs | ||
| 15196 | (list go-github-com-stretchr-testify)) | ||
| 15197 | (propagated-inputs | 15232 | (propagated-inputs |
| 15198 | (list go-dario-cat-mergo | 15233 | (list go-dario-cat-mergo |
| 15199 | go-github-com-google-uuid | 15234 | go-github-com-google-uuid |
| @@ -15203,13 +15238,7 @@ semantic versions. Specifically it provides the ability to: | |||
| 15203 | go-github-com-mitchellh-copystructure | 15238 | go-github-com-mitchellh-copystructure |
| 15204 | go-github-com-shopspring-decimal | 15239 | go-github-com-shopspring-decimal |
| 15205 | go-github-com-spf13-cast | 15240 | go-github-com-spf13-cast |
| 15206 | go-golang-org-x-crypto)) | 15241 | go-golang-org-x-crypto)))) |
| 15207 | (home-page "https://github.com/Masterminds/sprig/") | ||
| 15208 | (synopsis "Template functions for Go templates") | ||
| 15209 | (description | ||
| 15210 | "Sprig is a library that provides more than 100 commonly used template | ||
| 15211 | functions.") | ||
| 15212 | (license license:expat))) | ||
| 15213 | 15242 | ||
| 15214 | (define-public go-github-com-masterminds-squirrel | 15243 | (define-public go-github-com-masterminds-squirrel |
| 15215 | (package | 15244 | (package |
