From 30e2ee1e0c817763a237ada12794e1d8835e57af Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 18:51:32 -0800 Subject: [PATCH 112/206] gnu: Add rust-half-1.3. * gnu/packages/crates-io.scm (rust-half-1.3): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bc4afbe7af..64e3c5b59e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2597,6 +2597,31 @@ 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 + ;; `(#: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.0