diff options
author | Zheng Junjie <873216071@qq.com> | 2021-04-28 00:12:20 +0800 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-05-26 15:12:08 +0200 |
commit | 12bdba70354b234a0d733e180be5455176754a68 (patch) | |
tree | 66c178b0b587ded4ab420910999da131ff7738ed /gnu/packages/crates-io.scm | |
parent | da08378aa48261a9df24d50606346b47bd2632b9 (diff) | |
download | guix-patches-12bdba70354b234a0d733e180be5455176754a68.tar guix-patches-12bdba70354b234a0d733e180be5455176754a68.tar.gz |
gnu: Add rust-ordered-float-2.
* gnu/packages/crates-io.scm (rust-ordered-float-2): New variable.
(rust-ordered-float-1): Inherit from above.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-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 318b2c695b..1b4e553559 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -27107,10 +27107,10 @@ system for OpenSSL.") PartialOrd types, like floats.") (license (list license:expat license:asl2.0)))) -(define-public rust-ordered-float-1 +(define-public rust-ordered-float-2 (package (name "rust-ordered-float") - (version "1.0.2") + (version "2.1.1") (source (origin (method url-fetch) @@ -27119,10 +27119,12 @@ PartialOrd types, like floats.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0625x96987kspdxbikry5mb7hsf5pdc5bbanxd8wjwqlx0ar71hq")))) + "0632g8bacvras6nig1bb1ihgc560476jkrb3is6n542ll86q8vvn")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:skip-build? + #t + #:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs @@ -27133,6 +27135,21 @@ PartialOrd types, like floats.") "This package provides wrappers for total ordering on floats in Rust.") (license license:expat))) +(define-public rust-ordered-float-1 + (package + (inherit rust-ordered-float-2) + (name "rust-ordered-float") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "ordered-float" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0625x96987kspdxbikry5mb7hsf5pdc5bbanxd8wjwqlx0ar71hq")))))) + (define-public rust-ordermap-0.3 (package (name "rust-ordermap") |