efraim pushed a commit to branch master
in repository guix.
commit 26be7f23f8cc2fea01d06e251535fc40f23726e4
Author: Efraim Flashner <[email protected]>
Date: Wed Oct 23 09:45:09 2019 +0300
gnu: Add rust-clap-2.
* gnu/packages/rust-cbindgen.scm (rust-clap-2): New hidden variable.
---
gnu/packages/rust-cbindgen.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index 0a5e50e..c7d3133 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -128,3 +128,24 @@ depending on a large number of #[cfg] parameters.
Structured like an
(properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
+
+(define rust-clap-2
+ (package
+ (name "rust-clap")
+ (version "2.33.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "clap" version))
+ (file-name (string-append name "-" version ".crate"))
+ (sha256
+ (base32
+ "1nf6ld3bims1n5vfzhkvcb55pdzh04bbhzf8nil5vvw05nxzarsh"))))
+ (build-system cargo-build-system)
+ (home-page "https://clap.rs/")
+ (synopsis "Command Line Argument Parser")
+ (description
+ "This package provides a simple to use, efficient, and full-featured
+Command Line Argument Parser.")
+ (properties '((hidden? . #t)))
+ (license license:expat)))