diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-03-19 00:01:59 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-03-19 22:33:24 +0200 |
commit | f90a306d1f694f15f7b0c165fe7ef102bb3cfa99 (patch) | |
tree | 3563035f4393e88e3412db609170ab3dc858c2b6 | |
parent | 2d6fa1839993e381b4c9d6d3287f6be98af2847a (diff) | |
download | guix-f90a306d1f694f15f7b0c165fe7ef102bb3cfa99.tar.gz |
gnu: Add rust-float-cmp-0.5.
* gnu/packages/crates-io.scm (rust-float-cmp-0.5): New variable. (rust-float-cmp-0.3): Inherit from rust-float-cmp-0.5.
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index eb98877725..b08324b243 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5227,10 +5227,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.3 +(define-public rust-float-cmp-0.5 (package (name "rust-float-cmp") - (version "0.3.0") + (version "0.5.3") (source (origin (method url-fetch) @@ -5239,16 +5239,33 @@ streams.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1c0hmj46xma5aysz0qb49padhc26aw875whx6q6rglsj5dqpds1b")))) + "03hmx3n48hjm0x1ig84n1j87kzp75lzr6cj1sgi6a6pykgn4n8km")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-num" ,rust-num-0.1)))) + `(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2)))) (home-page "https://github.com/mikedilger/float-cmp") (synopsis "Floating point approximate comparison traits") (description "Floating point approximate comparison traits in Rust.") (license license:expat))) +(define-public rust-float-cmp-0.3 + (package + (inherit rust-float-cmp-0.5) + (name "rust-float-cmp") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "float-cmp" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1c0hmj46xma5aysz0qb49padhc26aw875whx6q6rglsj5dqpds1b")))) + (arguments + `(#:cargo-inputs (("rust-num" ,rust-num-0.1)))))) + (define-public rust-float-ord-0.2 (package (name "rust-float-ord") |