From 9fd8083ba9eb22474ba81eae230d9bf826101232 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sat, 28 Jan 2023 15:50:05 +0800 Subject: [PATCH] rosenthal: Add go-github-com-pelletier-go-toml-v2. * rosenthal/packages/golang.scm (go-github-com-pelletier-go-toml-v2): New variable. --- rosenthal/packages/golang.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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))))