From 67e2129c4a1335b3fdca5050292792e612745c11 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 12:22:58 -0800 Subject: [PATCH 049/263] gnu: Add rust-docopt-1.1. * gnu/packages/crates-io.scm (rust-docopt-1.1): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2e99b30479..2f5d7820e3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1069,6 +1069,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 `(,license:expat ,license:unlicense)))) + (define-public rust-dtoa-0.4 (package (name "rust-dtoa") -- 2.24.1