From 062a4a49dbfaacdbc3bc9f9abc08e87f35b808f3 Mon Sep 17 00:00:00 2001 From: Alexey Abramov Date: Sun, 11 Feb 2024 19:28:25 +0100 Subject: 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 Change-Id: I10cf6c962441535493889820543d29a9a9b20e98 --- gnu/packages/golang.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d3e4249c4d..4e46c70d81 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -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") -- cgit v1.2.3