summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Scherer <roman@burningswell.com>2025-12-24 17:22:28 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-04-06 21:34:38 +0100
commit558b797d8849b7dacec4ab4408531d9340f2c485 (patch)
tree66798017d7778e68de5f579e591c396dac9a9673
parent14f4a8eaa05ba8103e889f06986b63c1727a8c26 (diff)
gnu: Add go-github-com-flynn-go-docopt.
* gnu/packages/golang-xyz.scm (go-github-com-flynn-go-docopt): New variable. Relates-to: https://codeberg.org/guix/guix/issues/5190 Change-Id: Id42421fb19e1f1daf247d5b103ddc91c6c62d61c Reviewed-by: Johannes Christ <jc@jchri.st> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/golang-xyz.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index b357a1a900a..292ae404a87 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -9833,6 +9833,31 @@ quoting, commenting, and escaping.")
(home-page "https://github.com/flynn-archive/go-shlex")
(license license:asl2.0))))
+(define-public go-github-com-flynn-go-docopt
+ (package
+ (name "go-github-com-flynn-go-docopt")
+ (version "0.0.0-20140912013429-f6dd2ebbb31e")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/flynn/go-docopt")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "07s8fvnab40mcfmlsgrrddgvrirgm1krb7kaqgipcikjcmj8j6ql"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/flynn/go-docopt"
+ #:test-subdirs #~(list ".")))
+ (home-page "https://github.com/flynn/go-docopt")
+ (synopsis "Docopt command-line argument parser")
+ (description
+ "Package docopt parses command-line arguments based on a help message.
+It's an alternative fork of @url{https://github.com/docopt/docopt.go}.")
+ (license license:expat)))
+
;; XXX: This project isn't maintained upstream, consider to find alternative
;; fork, see <https://github.com/fogleman/gg/issues/185> and remove the
;; package when it has no users.