From fe8de9c700ad7186526e291386b30bffe8eda375 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 21 Sep 2022 12:10:44 +0200 Subject: [PATCH] gnu: Add rust-ieee754-0.2. * gnu/packages/crates-io.scm (rust-ieee754-0.2): New variable. --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 91ba805695..16a6fea01e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28967,6 +28967,27 @@ with hyper.") (("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-rustc-test" ,rust-rustc-test-0.3)))))) +(define-public rust-ieee754-0.2 + (package + (name "rust-ieee754") + (version "0.2.6") + (source (origin + (method url-fetch) + (uri (crate-uri "ieee754" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1771d2kvw1wga65yrg9m7maky0fzsaq9hvhkv91n6gmxmjfdl1wh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.2)))) + (home-page "https://github.com/huonw/ieee754") + (synopsis "Low-level manipulations of IEEE754 floating-point numbers") + (description "This is a package for low-level manipulations of IEEE754 +floating-point numbers.") + (license (list license:expat license:asl2.0)))) + (define-public rust-if-chain-1 (package (name "rust-if-chain")