diff mbox series

[bug#44562,13/15] gnu: Add go-github-com-urfave-cli-v2.

Message ID 874klw9632.fsf@lafreniere.xyz
State New
Headers show
Series [bug#44562,01/15] gnu: Add go-github-com-leodido-go-urn. | expand

Checks

Context Check Description
cbaines/submitting builds success
cbaines/issue success View issue
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch fail View Laminar job

Commit Message

Joseph LaFreniere Nov. 10, 2020, 10:53 p.m. UTC
--
Joseph LaFreniere
diff mbox series

Patch

From 71b88b1661d3b1832f7e64d6aa3c85609addcc9e Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sun, 8 Nov 2020 22:00:53 -0600
Subject: [PATCH 13/15] gnu: Add go-github-com-urfave-cli-v2.

* gnu/packages/golang.scm (go-github-com-urfave-cli-v2): New variable.
---
 gnu/packages/golang.scm | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 789a8a946a..4e741f4504 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3379,7 +3379,7 @@  as conversion to and from @command{net.Addr}.")
     (build-system go-build-system)
     (arguments
      '(#:import-path "github.com/urfave/cli"))
-    (propagated-inputs
+    (native-inputs
      `(("go-github-com-go-md2man" ,go-github-com-go-md2man)))
     (home-page "https://github.com/urfave/cli")
     (synopsis "Simple, fast, and fun package for building command line apps in Go")
@@ -3388,6 +3388,23 @@  building command line apps in Go.  The goal is to enable developers to write
 fast and distributable command line applications in an expressive way.")
     (license license:expat)))
 
+(define-public go-github-com-urfave-cli-v2
+  (package
+    (inherit go-github-com-urfave-cli)
+    (name "go-github-com-urfave-cli-v2")
+    (version "2.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/urfave/cli")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "08pvn7gyfznni72xrxfh2x6xxa8ykr7l1ka278js8g8qkh71bj8l"))))
+    (arguments
+     '(#:import-path "github.com/urfave/cli/v2"))))
+
 (define-public go-github-com-go-md2man
   (package
     (name "go-github-com-go-md2man")
-- 
2.29.2