diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-10-04 23:06:11 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-10-05 13:39:04 +0300 |
commit | 61fc7932b9b43ae8a213553be8bb2b47cb490504 (patch) | |
tree | f1d729ac84b8026fdd8902fca9bded66d55e0b07 | |
parent | ca2484f17c3de8288dd480a5b2d0551f1f512747 (diff) | |
download | guix-patches-61fc7932b9b43ae8a213553be8bb2b47cb490504.tar guix-patches-61fc7932b9b43ae8a213553be8bb2b47cb490504.tar.gz |
gnu: Add rust-float-cmp-0.8.
* gnu/packages/crates-io.scm (rust-float-cmp-0.8): New variable.
(rust-float-cmp-0.6): Inherit from rust-float-cmp-0.8.
-rw-r--r-- | gnu/packages/crates-io.scm | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index add1e83f4e..06a7c27b2e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7607,10 +7607,10 @@ Reader/Writer streams. Contains bindings for zlib, deflate, and gzip-based streams.") (license (list license:expat license:asl2.0)))) -(define-public rust-float-cmp-0.6 +(define-public rust-float-cmp-0.8 (package (name "rust-float-cmp") - (version "0.6.0") + (version "0.8.0") (source (origin (method url-fetch) @@ -7619,7 +7619,7 @@ streams.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0zb1lv3ga18vsnpjjdg87yazbzvmfwwllj3aiid8660rp3qw8qns")))) + "1i56hnzjn5pmrcm47fwkmfxiihk7wz5vvcgpb0kpfhzkqi57y9p1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2)))) @@ -7629,6 +7629,21 @@ streams.") "Floating point approximate comparison traits in Rust.") (license license:expat))) +(define-public rust-float-cmp-0.6 + (package + (inherit rust-float-cmp-0.8) + (name "rust-float-cmp") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "float-cmp" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0zb1lv3ga18vsnpjjdg87yazbzvmfwwllj3aiid8660rp3qw8qns")))))) + (define-public rust-float-cmp-0.5 (package (inherit rust-float-cmp-0.6) |