diff --git a/rosenthal/packages/golang.scm b/rosenthal/packages/golang.scm index 69b9f77..deecbfb 100644 --- a/rosenthal/packages/golang.scm +++ b/rosenthal/packages/golang.scm @@ -130,3 +130,22 @@ for structs and individual fields based on tags.") "Golang TProxy provides an easy to use wrapper for the Linux Transparent Proxy functionality.") (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.0.6") + (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 + "157159ybra60qacbphi8cdcc5aw4s9c900738n9h9bwiqwk8jwj5")))) + (arguments + '(#:import-path "github.com/pelletier/go-toml/v2")) + (native-inputs + (list go-github-com-stretchr-testify))))