summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-14 12:22:58 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:17 +0200
commit22772b1c203d4ba66053d644acffbce13903c41a (patch)
tree7e17d4277b016161aa874ae914587fa672930d69
parentfbd9fd9b32b295d52824eaaacf137b1089e817e2 (diff)
gnu: Add rust-docopt-1.1.
* gnu/packages/crates-io.scm (rust-docopt-1.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9f9cf0d27c..d85506cf5a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1047,6 +1047,32 @@ from macros.")
(properties '((hidden? . #t)))
(license license:expat)))
+(define-public rust-docopt-1.1
+ (package
+ (name "rust-docopt")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "docopt" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0s9rcpmnnivs502q69lc1h1wrwapkq09ikgbfbgqf31idmc5llkz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1.3)
+ ("rust-regex" ,rust-regex-1.1)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-strsim" ,rust-strsim-0.9))))
+ (home-page "https://github.com/docopt/docopt.rs")
+ (synopsis "Command line argument parsing")
+ (description "Command line argument parsing.")
+ (license (list license:expat license:unlicense))))
+
(define-public rust-dtoa-0.4
(package
(name "rust-dtoa")