aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-18 23:21:48 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-22 23:39:28 +0200
commit3c1290026b4c508827fa83ee97156dbb79e88709 (patch)
treeaa137e6380fcc4a3cc5cb2aa5e3c73ff631f1bbb /gnu
parent4f3fd61031a4c58b02d9ccbb857976f35680fd1b (diff)
downloadpatches-3c1290026b4c508827fa83ee97156dbb79e88709.tar
patches-3c1290026b4c508827fa83ee97156dbb79e88709.tar.gz
gnu: Add rust-docopt-0.7.
* gnu/packages/crates-io.scm (rust-docopt-0.7): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4e9a001658..a61115555e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3189,6 +3189,27 @@ from macros.")
(description "Command line argument parsing.")
(license (list license:expat license:unlicense))))
+(define-public rust-docopt-0.7
+ (package
+ (inherit rust-docopt-1.1)
+ (name "rust-docopt")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "docopt" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1n6gbhsks2w9y0b4bwqyawh4ghbkka09w6pjcrq9i1sd51pflcmb"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-lazy-static" ,rust-lazy-static-0.2)
+ ("rust-regex" ,rust-regex-0.2)
+ ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
+ ("rust-strsim" ,rust-strsim-0.6))))))
+
(define-public rust-downcast-rs-1.1
(package
(name "rust-downcast-rs")