diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-03-18 23:45:55 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-03-19 22:33:23 +0200 |
commit | 74f44bf74fd2b48ab18b4af2c849798d4eae15ce (patch) | |
tree | 96ae1b958f9f5174269c2d694a4e2ec3220fff62 /gnu/packages/crates-io.scm | |
parent | fbe6dbb69e6600972b8d8f95760abf3a2e107cfd (diff) | |
download | guix-74f44bf74fd2b48ab18b4af2c849798d4eae15ce.tar.gz |
gnu: Add rust-num-rational-0.1.
* gnu/packages/crates-io.scm (rust-num-rational-0.1): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b2be043833..6fee45d9aa 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10981,6 +10981,28 @@ including bigint, complex, rational, range iterators, generic integers, and more "Rational numbers implementation for Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-num-rational-0.1 + (package + (inherit rust-num-rational-0.2) + (name "rust-num-rational") + (version "0.1.42") + (source + (origin + (method url-fetch) + (uri (crate-uri "num-rational" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0kkqb8j3b3nis9hs4ww4hkrmb4a6v9sr9al08xmwhgvmpms4qcgf")))) + (arguments + `(#:cargo-inputs + (("rust-num-bigint" ,rust-num-bigint-0.1) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) + ("rust-serde" ,rust-serde-0.8)))))) + (define-public rust-num-traits-0.2 (package (name "rust-num-traits") |