guix-commits
[Top][All Lists]
Advanced

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

08/17: gnu: Add go-github-com-alecthomas-kingpin-v2.


From: guix-commits
Subject: 08/17: gnu: Add go-github-com-alecthomas-kingpin-v2.
Date: Wed, 27 Mar 2024 19:09:28 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit 1c3bfe42e33daf080a75319de2198f622365dae6
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Mar 22 22:13:03 2024 +0000

    gnu: Add go-github-com-alecthomas-kingpin-v2.
    
    * gnu/packages/golang-xyz.scm (go-github-com-alecthomas-kingpin-v2): New 
variable.
    * gnu/packages/golang-xyz.scm (go-github-com-kingpin): Delete variable.
    
    Change-Id: If40f318b960e29fd601602d26fd36dcc8fce9583
---
 gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index e2b397b04c..ff3b05d83b 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -170,8 +170,28 @@ syntax highlighted HTML, ANSI-coloured text, etc.")
      "Go library provides utilities for building command line interfaces.")
     (license license:expat)))
 
-(define-public go-github-com-kingpin
-  (deprecated-package "go-github-com-kingpin" 
go-github-com-alecthomas-kingpin))
+(define-public go-github-com-alecthomas-kingpin-v2
+  (package
+    (inherit go-github-com-alecthomas-kingpin)
+    (name "go-github-com-alecthomas-kingpin-v2")
+    (version "2.4.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/alecthomas/kingpin";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "12xl62xzwq2h71hp1i0133403zhyqwsh95sr870fx18wmpqh8shf"))))
+    (arguments
+     (list
+      #:import-path "github.com/alecthomas/kingpin/v2"))
+    (propagated-inputs
+     (list go-github-com-alecthomas-units
+           go-github-com-xhit-go-str2duration-v2))
+    (native-inputs
+     (list go-github-com-stretchr-testify))))
 
 (define-public go-github-com-alecthomas-participle-v2
   (package



reply via email to

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