[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30214] [PATCH 03/10] gnu: Add go-github.com-jessevdk-go-flags.
From: |
Christopher Baines |
Subject: |
[bug#30214] [PATCH 03/10] gnu: Add go-github.com-jessevdk-go-flags. |
Date: |
Tue, 23 Jan 2018 20:21:55 +0000 |
* gnu/packages/golang.scm (go-github.com-jessevdk-go-flags): New variable.
---
gnu/packages/golang.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 202183ff2..f972e5058 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -446,3 +446,37 @@ interfaces in Go. The goal is to enable developers to
write fast and
distributable command line applications in an expressive way.")
(home-page "https://github.com/davidjpeacock/cli")
(license license:expat))))
+
+(define-public go-github.com-jessevdk-go-flags
+ (package
+ (name "go-github.com-jessevdk-go-flags")
+ (version "1.3.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/jessevdk/go-flags/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))))
+ (sha256
+ (base32
+ "0dmvsxsq2s6jx17c8snpw8b2hixy5m03wp8qwvsjsjzavd5gkyg0"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:unpack-path "github.com/jessevdk"
+ #:import-path "github.com/jessevdk/go-flags"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'rename-archive
+ (lambda _
+ (rename-file
+ ,(string-append "src/github.com/jessevdk/go-flags-" version)
+ "src/github.com/jessevdk/go-flags")
+ #t)))))
+ (synopsis "Go library for parsing command line arguments")
+ (description
+ "The @code{flags} package provides a command line option parser. The
+functionality is similar to the go builtin @code{flag} package, but
address@hidden provides more options and uses reflection to provide a succinct
+way of specifying command line options.")
+ (home-page "https://github.com/jessevdk/go-flags")
+ (license license:bsd-3)))
--
2.16.0
- [bug#30214] [PATCH 01/10] gnu: Add go-golang.org-x-crypto-ssh-terminal., (continued)
- [bug#30214] [PATCH]: Add mongo-tools., Leo Famulari, 2018/01/22
- [bug#30214] [PATCH 01/10] gnu: Add go-golang.org-x-crypto-ssh-terminal., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 02/10] gnu: Add go-github.com-howeyc-gopass., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 07/10] gnu: Add go-gopkg.in-tomb.v2., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 05/10] gnu: Add daemontools., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 09/10] gnu: Add go-github.com-nsf-termbox-go., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 04/10] gnu: Add go-gopkg.in-check.v1., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 03/10] gnu: Add go-github.com-jessevdk-go-flags.,
Christopher Baines <=
- [bug#30214] [PATCH 10/10] gnu: Add mongo-tools., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 08/10] gnu: Add go-github.com-mattn-go-runewidth., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 06/10] gnu: Add go-gopkg.in-mgo.v2., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 01/10] gnu: Add go-golang.org-x-crypto-ssh-terminal., Christopher Baines, 2018/01/27
- [bug#30214] [PATCH 08/10] gnu: Add go-github.com-mattn-go-runewidth., Christopher Baines, 2018/01/27
- [bug#30214] [PATCH 05/10] gnu: Add daemontools., Christopher Baines, 2018/01/27
- [bug#30214] [PATCH 03/10] gnu: Add go-github.com-jessevdk-go-flags., Christopher Baines, 2018/01/27
- [bug#30214] [PATCH 02/10] gnu: Add go-github.com-howeyc-gopass., Christopher Baines, 2018/01/27
- [bug#30214] [PATCH 07/10] gnu: Add go-gopkg.in-tomb.v2., Christopher Baines, 2018/01/27
- [bug#30214] [PATCH 10/10] gnu: Add mongo-tools., Christopher Baines, 2018/01/27