[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47539] [PATCH v2 17/26] gnu: Add go-github-com-itchyny-go-flags.
From: |
Xinglu Chen |
Subject: |
[bug#47539] [PATCH v2 17/26] gnu: Add go-github-com-itchyny-go-flags. |
Date: |
Thu, 01 Apr 2021 20:31:43 +0200 |
* gnu/packages/golang.scm (go-github-com-itchyny-go-flags): New variable.
---
gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0234522408..6707b15273 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7486,3 +7486,36 @@ shell-style quoting, commenting, and escaping.")
pretty on your terminal.")
(license license:expat)))
+(define-public go-github-com-itchyny-go-flags
+ (package
+ (name "go-github-com-itchyny-go-flags")
+ (version "1.5.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/itchyny/go-flags.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0qfh7gn95aldlsigk72jl87npmwvx15kb7df1100d6j0nbakd8b5"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path
+ "github.com/itchyny/go-flags"
+ ;; Unable to find man page
+ #:tests? #f))
+ (native-inputs
+ `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
+ (home-page "https://github.com/itchyny/go-flags")
+ (synopsis "Go library for parsing command line arguments")
+ (description "This library provides similar functionality to the builtin
+flag library of Go, but provides much more functionality.
+
+Package flags provides an extensive command line option parser. The flags
+package is similar in functionality to the go builtin flag package but
+provides more options and uses reflection to provide a convenient and succinct
+way of specifying command line options.")
+ (license license:bsd-3)))
+
--
2.31.1
- [bug#47539] [PATCH v2 25/26] gnu: Add go-github-com-cli-shurcool-graphql., (continued)
- [bug#47539] [PATCH v2 25/26] gnu: Add go-github-com-cli-shurcool-graphql., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH v2 20/26] gnu: Add go-github-com-mattn-go-runewidth., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH v2 24/26] gnu: Add go-github-com-shurcool-graphql., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH v2 01/26] gnu: Add go-github-com-hinshun-vt10x., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH v2 06/26] gnu: Add go-github-com-makenowjust-heredoc., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH v2 22/26] gnu: Add go-github-com-shurcool-githubv4., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH v2 10/26] gnu: Add go-github-com-cli-safeexec., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH v2 09/26] gnu: Add go-github-com-cli-oauth., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH v2 04/26] gnu: Add go-github-com-netflix-go-expect., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH v2 08/26] gnu: Add go-github-com-cli-browser., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH v2 17/26] gnu: Add go-github-com-itchyny-go-flags.,
Xinglu Chen <=
- [bug#47539] [PATCH v2 15/26] gnu: Add go-github-com-google-shlex., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH v2 12/26] gnu: Add go-github-com-cpuguy83-go-md2man-v2., Xinglu Chen, 2021/04/01
- [bug#47539] [PATCH v2 00/26] Add github-cli and dependencies, Xinglu Chen, 2021/04/19
- [bug#47539] [PATCH v3 00/25] Add github-cli and dependencies, Xinglu Chen, 2021/04/19