summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-09-05 20:31:32 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-09-06 15:46:03 +0300
commit516b2f1a3b87147daee345a7708b394e87fd29bd (patch)
tree303740bb3161bfab970688e052f1c92128b436c1 /gnu
parent9a5ee9928a9de0183ed1702160035319fe1d2407 (diff)
gnu: Add rust-getopts.
* gnu/packages/crates-io.scm (rust-getopts): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4722773d50..235767a207 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -968,6 +968,28 @@ archive to be linked into Rustcode.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-getopts
+ (package
+ (name "rust-getopts")
+ (version "0.2.17")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "getopts" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "018yhq97zgcrcxwhj3pxh31h83704sgaiijdnpl0r1ir366c005r"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-log" ,rust-log))))
+ (home-page "https://github.com/rust-lang-nursery/getopts")
+ (synopsis "Rust library for option parsing for CLI utilities")
+ (description "This library provides getopts-like option parsing.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-glob
(package
(name "rust-glob")