guix-commits
[Top][All Lists]
Advanced

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

19/24: gnu: Add go-github-com-pelletier-go-toml-v2.


From: guix-commits
Subject: 19/24: gnu: Add go-github-com-pelletier-go-toml-v2.
Date: Fri, 16 Feb 2024 09:21:13 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit 04f2710c5cd91638839a7c0c96873579eb8dc171
Author: Hilton Chain <hako@ultrarare.space>
AuthorDate: Sat Jul 29 01:20:05 2023 +0800

    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
---
 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")



reply via email to

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