diff mbox series

[bug#54560,33/47] gnu: Add go-gopkg-in-alecthomas-kingpin.v2.

Message ID 20220325133211.5128-33-hello@lnikki.la
State New
Headers show
Series [bug#54560,01/47] gnu: Add go-google-golang-org-protobuf. | expand

Commit Message

Leo Nikkilä March 25, 2022, 1:31 p.m. UTC
* gnu/packages/golang.scm (go-gopkg-in-alecthomas-kingpin.v2): New
variable.
---
 gnu/packages/golang.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 70e2c454e4..a8f5bb7261 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9885,6 +9885,18 @@  (define-public go-github-com-alecthomas-kingpin
 (define-public go-github-com-kingpin
   (deprecated-package "go-github-com-kingpin" go-github-com-alecthomas-kingpin))
 
+(define-public go-gopkg-in-alecthomas-kingpin.v2
+  (let ((base go-github-com-alecthomas-kingpin))
+    (package
+      (inherit base)
+      (name "go-gopkg-in-alecthomas-kingpin.v2")
+      (arguments
+       (ensure-keyword-arguments (package-arguments base)
+                                 '(#:import-path
+                                   "gopkg.in/alecthomas/kingpin.v2"
+                                   #:unpack-path
+                                   "gopkg.in/alecthomas/kingpin.v2"))))))
+
 (define-public go-github-com-alecthomas-template
   (let ((commit "a0175ee3bccc567396460bf5acd36800cb10c49c")
         (revision "0"))