guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: Add go-github-com-tj-docopt.


From: Christopher Baines
Subject: 01/03: gnu: Add go-github-com-tj-docopt.
Date: Sat, 17 Mar 2018 19:05:30 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit c4d2cffae7e8d6420dd7bd1fd19d31ddab89c101
Author: Christopher Baines <address@hidden>
Date:   Sun Feb 25 14:27:32 2018 +0000

    gnu: Add go-github-com-tj-docopt.
    
    * gnu/packages/golang.scm (go-github-com-tj-docopt): New variable.
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 20a8c53..92e612d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2017 Sergei Trofimovich <address@hidden>
 ;;; Copyright © 2017 Alex Vong <address@hidden>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
+;;; Copyright © 2018 Christopher Baines <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -639,3 +640,27 @@ termination.")
 per-goroutine.")
     (home-page "https://github.com/jtolds/gls";)
     (license license:expat)))
+
+(define-public go-github-com-tj-docopt
+  (package
+    (name "go-github-com-tj-docopt")
+    (version "1.0.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/tj/docopt";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "06h8hdg1mh3s78zqlr01g4si7k0f0g6pr7fj7lnvfg446hgc7080"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/tj/docopt"))
+    (synopsis "Go implementation of docopt")
+    (description
+     "This library allows the user to define a command-line interface from a
+program's help message rather than specifying it programatically with
+command-line parsers.")
+    (home-page "https://github.com/tj/docopt";)
+    (license license:expat)))



reply via email to

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