From 04f2710c5cd91638839a7c0c96873579eb8dc171 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sat, 29 Jul 2023 01:20:05 +0800 Subject: 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 Change-Id: Ibc9ee1c7dc3aac1628d2bd32fafc65c23d25c8e8 --- gnu/packages/golang.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 389ce12e34..04425630c0 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4054,6 +4054,26 @@ updating files, like @command{tail -f}.") (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") -- cgit v1.2.3