1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-12 18:10:47 +02:00

gnu: Add go-github-com-go-viper-mapstructure-v2.

* gnu/packages/golang-xyz.scm (go-github-com-go-viper-mapstructure-v2):
New variable.

Change-Id: I70f70a5bd392264701fe05a5f17fe2d20b53916f
This commit is contained in:
Danny Milosavljevic 2025-02-02 01:20:34 +01:00
parent 6c70b77c35
commit 336d31b692
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -17686,6 +17686,31 @@ editor.")
#:import-path "github.com/client9/misspell/cmd/misspell"
#:unpack-path "github.com/client9/misspell"))))
(define-public go-github-com-go-viper-mapstructure-v2
(package
(name "go-github-com-go-viper-mapstructure-v2")
(version "2.2.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/go-viper/mapstructure")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1x13x2s0vkikmn5wcarxskhr6c90s64nkbsgjsh7g9sh4v31n5yw"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/go-viper/mapstructure/v2"
#:unpack-path "github.com/go-viper/mapstructure/v2"))
(home-page "https://github.com/go-viper/mapstructure")
(synopsis "Go type converters")
(description
"Package mapstructure exposes functionality to convert one arbitrary Go type into
another, typically to convert a map[string]interface{} into a native Go
structure.")
(license license:expat)))
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar