me
/
guix
Archived
1
0
Fork 0

gnu: Add go-dario-cat-mergo.

This is a new version of go-github-com-imdario-mergo. It was renamed and
now used as dario.cat/mergo in tests and other places.

* gnu/packages/golang.scm (go-dario-cat-mergo): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I10cf6c962441535493889820543d29a9a9b20e98
master
Alexey Abramov 2024-02-11 19:28:25 +01:00 committed by Sharlatan Hellseher
parent 9cdcf7c6f9
commit 062a4a49db
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5
1 changed files with 21 additions and 0 deletions

View File

@ -8080,6 +8080,27 @@ recursively any exported one. It also won't merge structs inside
maps (because they are not addressable using Go reflection).")
(license license:bsd-3)))
(define-public go-dario-cat-mergo
(package
(inherit go-github-com-imdario-mergo)
(name "go-dario-cat-mergo")
(version "1.0.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/imdario/mergo")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"037k2bd97vnbyhn2sczxk0j6ijmv06n1282f76i3ky73s3qmqnlf"))))
(build-system go-build-system)
(arguments
`(#:unpack-path "dario.cat/mergo"
#:import-path "dario.cat/mergo"))
(native-inputs
(list go-gopkg-in-yaml-v3))))
(define-public go-github-com-masterminds-sprig
(package
(name "go-github-com-masterminds-sprig")