From 61fcaa8fc680123b6817f96943a362f1e8d7f9f2 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Tue, 11 Jan 2022 01:14:05 +0100 Subject: 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 --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages') 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") -- cgit v1.2.3