mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: go-dario-cat-mergo: Move to golang-xyz.
* gnu/packages/golang.scm (go-dario-cat-mergo): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. Change-Id: I3c82451ec5c3147e00f6598986903dda735f9e0f
This commit is contained in:
parent
1c6787f9a5
commit
9016419e80
2 changed files with 31 additions and 29 deletions
|
@ -3202,35 +3202,6 @@ Porter2 stemmer}. It is written completely using finite state machines to do
|
|||
suffix comparison, rather than the string-based or tree-based approaches.")
|
||||
(license license:asl2.0))))
|
||||
|
||||
(define-public go-dario-cat-mergo
|
||||
(package
|
||||
(name "go-dario-cat-mergo")
|
||||
(version "1.0.1")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/darccio/mergo")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0v12vc9bmqq89k4y60a8ykmv85hpa7nh73sn9b7ars143pxvmhf1"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
`(#:import-path "dario.cat/mergo"))
|
||||
(native-inputs
|
||||
(list go-gopkg-in-yaml-v3))
|
||||
(home-page "https://github.com/darccio/mergo")
|
||||
(synopsis "Helper to merge structs and maps in Golang")
|
||||
(description "Helper to merge structs and maps in Golang. Useful for
|
||||
configuration default values, avoiding messy if-statements.
|
||||
|
||||
Mergo merges same-type structs and maps by setting default values in
|
||||
zero-value fields. Mergo won't merge unexported (private) fields. It will do
|
||||
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-github-com-olekukonko-ts
|
||||
(let ((commit "78ecb04241c0121483589a30b0814836a746187d")
|
||||
(revision "0"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue