diff options
author | John Soo <jsoo1@asu.edu> | 2019-12-13 23:02:49 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-02 20:16:12 +0200 |
commit | 472685a7e981b5d051368cab068ba9bb72fcb569 (patch) | |
tree | d5048f0b5636eb53b980cf15fa3eda6292549ff5 /gnu | |
parent | 141397564e0bccaad0ea7502fd4fab23cd81bd6b (diff) |
gnu: Add rust-cast-0.2.
* gnu/packages/crates-io.scm (rust-cast-0.2): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ab4a5efb8a..32afcca89b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -374,6 +374,31 @@ 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 + `(#:skip-build? #t + #: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 (list license:expat license:asl2.0)))) + (define-public rust-cblas-sys-0.1 (package (name "rust-cblas-sys") |