diff options
author | Petr Hodina <phodina@protonmail.com> | 2022-01-11 01:14:05 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-21 01:13:53 +0100 |
commit | 61fcaa8fc680123b6817f96943a362f1e8d7f9f2 (patch) | |
tree | b2521c22b0405020e5128ee275974e7a47ccbb4c /gnu | |
parent | 91690d16a4a0049e95977db761f948241745538d (diff) | |
download | guix-61fcaa8fc680123b6817f96943a362f1e8d7f9f2.tar guix-61fcaa8fc680123b6817f96943a362f1e8d7f9f2.tar.gz |
gnu: Add rust-float-next-after-0.1.
* gnu/packages/crates-io.scm (rust-float-next-after-0.1): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-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 4d7ddaf7d9..706404a061 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20010,6 +20010,28 @@ traits.") (arguments `(#:cargo-inputs (("rust-num" ,rust-num-0.1)))))) +(define-public rust-float-next-after-0.1 + (package + (name "rust-float-next-after") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "float_next_after" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cnn60pslh0gilpy2jr7qpqk22a6lmsdz847988bg1krhg2i5ijg")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-num-traits" ,rust-num-traits-0.2)))) + (home-page "https://gitlab.com/bronsonbdevost/next_afterf") + (synopsis "Trait for native Rust f64/f32 nextafter") + (description + "This package provides a trait for native Rust f64/f32 nextafter.") + (license license:expat))) + (define-public rust-float-ord-0.3 (package (name "rust-float-ord") |