From bf5e1520c4101f8335903bde65ad26e688f90375 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 18:51:32 -0800 Subject: [PATCH 113/263] gnu: Add rust-half-1.3. * gnu/packages/crates-io.scm (rust-half-1.3): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a20ce9cf58..cb0ca458da 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2642,6 +2642,32 @@ focus on line oriented search.") (description "Use PCRE2 with the grep crate.") (license `(,license:expat ,license:unlicense)))) +(define-public rust-half-1.3 + (package + (name "rust-half") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "half" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0diqajg3mgar511hxswl4kgqqz9a026yvn3103x5h2smknlc4lwk")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-serde" ,rust-serde-1.0)))) + (home-page + "https://github.com/starkat99/half-rs") + (synopsis + "Half-precision floating point f16 type") + (description + "Half-precision floating point f16 type for Rust implementing the +IEEE 754-2008 binary16 type.") + (license `(,license:expat ,license:asl2.0)))) + (define-public rust-heapsize-0.4 (package (name "rust-heapsize") -- 2.24.1