summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-12-20 08:07:20 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:42:11 +0000
commit9c91d3970ca364051a405a51aa64bd365190c6e0 (patch)
treefb1270a3538e20e3c63a3c91b6a56cff1cb3af07 /gnu/packages/golang-xyz.scm
parentc62dc12069185667e67aa6f7829829d764c79ac4 (diff)
gnu: Add go-github-com-dnephin-pflag.
* gnu/packages/golang-xyz.scm (go-github-com-dnephin-pflag): New variable. Change-Id: I94959428a7ac087e99499cf5f922bab6645387dd
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 251f302d90..9feceb283a 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3005,6 +3005,34 @@ mtime,ctime and btime for files.")
"Regexp2 is a feature-rich RegExp engine for Go.")
(license license:expat)))
+(define-public go-github-com-dnephin-pflag
+ (package
+ (name "go-github-com-dnephin-pflag")
+ (version "1.0.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dnephin/pflag")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1d3aakwpwdbq3lqpk5kdqlr0h7maqxnpsbrd2022xwd93fxyxcq0"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:tests? #f ; FIXME
+ #:import-path "github.com/dnephin/pflag"))
+ (home-page "https://github.com/dnephin/pflag")
+ (synopsis "Drop-in replacement for Go's flag package")
+ (description
+ "Package pflag is a drop-in replacement for Go's flag package,
+implementing POSIX/GNU-style --flags. It is compatible with the
+@url{http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html,
+GNU extensions to the POSIX recommendations for command-line options}. This
+is an activly maintained fork of @url{https://github.com/ogier/pflag}.")
+ (license license:bsd-3)))
+
(define-public go-github-com-docopt-docopt-go
(let ((commit "ee0de3bc6815ee19d4a46c7eb90f829db0e014b1")
(revision "0"))