guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#64916] [PATCH v2 19/23] gnu: Add go-github-com-pelletier-go-toml-v2


From: Hilton Chain
Subject: [bug#64916] [PATCH v2 19/23] gnu: Add go-github-com-pelletier-go-toml-v2.
Date: Sat, 29 Jul 2023 01:20:05 +0800

* gnu/packages/golang.scm (go-github-com-pelletier-go-toml-v2): New variable.
---
 gnu/packages/golang.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 60f9d79177..1cb1c8f304 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5235,6 +5235,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.0.8")
+    (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
+                "04lbwawyvygzzy5w4c9bs8jywr1ypm35zb4cp477gxl1iiqvzk54"))))
+    (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")
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]