gnu: Add go-github-com-pelletier-go-toml-v2.

* gnu/packages/golang.scm (go-github-com-pelletier-go-toml-v2): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: Ibc9ee1c7dc3aac1628d2bd32fafc65c23d25c8e8
This commit is contained in:
Hilton Chain 2023-07-29 01:20:05 +08:00 committed by Sharlatan Hellseher
parent 156bee7acf
commit 04f2710c5c
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -4054,6 +4054,26 @@ (define-public go-github-com-pelletier-go-toml
(description "Go library for the TOML configuration language")
(license license:expat)))
(define-public go-github-com-pelletier-go-toml-v2
(package
(inherit go-github-com-pelletier-go-toml)
(name "go-github-com-pelletier-go-toml-v2")
(version "2.1.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/pelletier/go-toml")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1k0rwg7870f4va7jaavnpwvdn6d76gxgyr7c978bx2h829a9sx2a"))))
(build-system go-build-system)
(arguments
(list #:import-path "github.com/pelletier/go-toml/v2"))
(native-inputs
(list go-github-com-stretchr-testify))))
(define-public go-github-com-subosito-gotenv
(package
(name "go-github-com-subosito-gotenv")