From 94095fdf5f27ae670e8a96e883a9a296ceae5e53 Mon Sep 17 00:00:00 2001 From: John Soo Date: Fri, 13 Dec 2019 23:02:49 -0800 Subject: [PATCH 021/206] gnu: Add rust-cast-0.2. * gnu/packages/crates-io.scm (rust-cast-0.2): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bc176d43b9..f4829782eb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -388,6 +388,30 @@ used in argon2rs' bench suite.") (properties '((hidden? . #t))) (license license:wtfpl2))) +(define-public rust-cast-0.2 + (package + (name "rust-cast") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "cast" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "09yl2700crxa4n860b080msij25klvs1kfzazhp2aihchvr16q4j")))) + (build-system cargo-build-system) + ;; (arguments + ;; `(#:cargo-development-inputs + ;; (("rust-quickcheck" ,rust-quickcheck-0.8)))) + (home-page "https://github.com/japaric/cast.rs") + (synopsis + "Ergonomic, checked cast functions for primitive types") + (description + "Ergonomic, checked cast functions for primitive types") + (license `(,license:expat ,license:asl2.0)))) + (define-public rust-cblas-sys-0.1 (package (name "rust-cblas-sys") -- 2.24.0