[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
38/41: gnu: Add rust-getopts.
From: |
guix-commits |
Subject: |
38/41: gnu: Add rust-getopts. |
Date: |
Fri, 6 Sep 2019 08:47:32 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 516b2f1a3b87147daee345a7708b394e87fd29bd
Author: Efraim Flashner <address@hidden>
Date: Thu Sep 5 20:31:32 2019 +0300
gnu: Add rust-getopts.
* gnu/packages/crates-io.scm (rust-getopts): New variable.
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4722773..235767a 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")
- 02/41: gnu: Add rust-rand-0.3., (continued)
- 02/41: gnu: Add rust-rand-0.3., guix-commits, 2019/09/06
- 13/41: gnu: Add rust-vcpkg., guix-commits, 2019/09/06
- 31/41: gnu: Add rust-ansi-term., guix-commits, 2019/09/06
- 28/41: gnu: Add rust-filetime., guix-commits, 2019/09/06
- 26/41: gnu: Add rust-tempfile., guix-commits, 2019/09/06
- 30/41: gnu: Add rust-socket2., guix-commits, 2019/09/06
- 33/41: gnu: Add rust-miow-0.2., guix-commits, 2019/09/06
- 01/41: gnu: Add rust-rand., guix-commits, 2019/09/06
- 40/41: gnu: Add rust-time., guix-commits, 2019/09/06
- 37/41: gnu: Add rust-clang-sys., guix-commits, 2019/09/06
- 38/41: gnu: Add rust-getopts.,
guix-commits <=
- 29/41: gnu: Add rust-tar., guix-commits, 2019/09/06
- 32/41: gnu: Add rust-miow., guix-commits, 2019/09/06