This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 46ef0552fd gnu: Add go-github-com-masterminds-sprig.
46ef0552fd is described below

commit 46ef0552fdc664b664c9f243a0895e6ff87e2b2b
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Feb 5 20:38:54 2026 +0000

    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
---
 gnu/packages/golang-xyz.scm | 47 ++++++++++++++++++++++++++++++++++++---------
 1 file changed, 38 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 390945eb77..3ea3006e97 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

Reply via email to