diff options
author | Valentin Ignatev <valentignatev@gmail.com> | 2020-01-19 22:00:23 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-02-23 22:23:11 +0200 |
commit | 8ac3903bba548a37cd06fd8df1ef35fa5c1f9b08 (patch) | |
tree | 5eb9e5eca95ba51928de1940f6a39800f64773d2 | |
parent | c2b63428f62bf90830a0f627dabf4fe9515bdcd9 (diff) | |
download | patches-8ac3903bba548a37cd06fd8df1ef35fa5c1f9b08.tar patches-8ac3903bba548a37cd06fd8df1ef35fa5c1f9b08.tar.gz |
gnu: Add rust-num-rational-0.2.
* gnu/packages/crates-io.scm (rust-num-rational-0.2): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fca70bde86..673232e610 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8798,6 +8798,33 @@ combinators library.") (license (list license:asl2.0 license:expat)))) +(define-public rust-num-rational-0.2 + (package + (name "rust-num-rational") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "num-rational" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "18q3vq3xldhaj0z3f92am8f59m1awywgdj28c7wvx0bcksgwfkfs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-num-bigint" ,rust-num-bigint-0.2) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-serde" ,rust-serde-1.0) + ("rust-autocfg" ,rust-autocfg-1.0)))) + (home-page "https://github.com/rust-num/num-rational") + (synopsis "Rational numbers implementation for Rust") + (description + "Rational numbers implementation for Rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-num-traits-0.2 (package (name "rust-num-traits") |