[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
47/89: gnu: Add rust-half-2.
From: |
guix-commits |
Subject: |
47/89: gnu: Add rust-half-2. |
Date: |
Thu, 23 Feb 2023 10:24:07 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit d063b49e932c27cea059e00f365ae69584fd14e5
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 23 16:51:19 2023 +0200
gnu: Add rust-half-2.
* gnu/packages/crates-io.scm (rust-half-2): New variable.
(rust-half-1): Inherit from rust-half-2.
---
gnu/packages/crates-io.scm | 41 +++++++++++++++++++++++++++++++++--------
1 file changed, 33 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b6eeb0310a..9a3d33f675 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25468,8 +25468,40 @@ of gzip files based on the gzip header implementation
in the @code{flate2} crate
("rust-webpki" ,rust-webpki-0.21)
("rust-webpki-roots" ,rust-webpki-roots-0.17))))))
+(define-public rust-half-2
+ (package
+ (name "rust-half")
+ (version "2.2.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "half" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
"1l1gdlzxgm7wc8xl5fxas20kfi1j35iyb7vfjkghbdzijcvazd02"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-crunchy" ,rust-crunchy-0.2)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-zerocopy" ,rust-zerocopy-0.6))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.4)
+ ("rust-crunchy" ,rust-crunchy-0.2)
+ ("rust-quickcheck" ,rust-quickcheck-1)
+ ("rust-quickcheck-macros" ,rust-quickcheck-macros-1)
+ ("rust-rand" ,rust-rand-0.8))))
+ (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 (list license:expat license:asl2.0))))
+
(define-public rust-half-1
(package
+ (inherit rust-half-2)
(name "rust-half")
(version "1.7.1")
(source
@@ -25479,7 +25511,6 @@ of gzip files based on the gzip header implementation
in the @code{flate2} crate
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1wzavaaaa2jwkm4i1dbglmwjfsdhn4n73wrkbdzllaynlams5b32"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-serde" ,rust-serde-1))
@@ -25488,13 +25519,7 @@ of gzip files based on the gzip header implementation
in the @code{flate2} crate
("rust-quickcheck" ,rust-quickcheck-0.9)
("rust-quickcheck-macros" ,rust-quickcheck-macros-0.9)
("rust-rand" ,rust-rand-0.7)
- ("rust-version-sync" ,rust-version-sync-0.8))))
- (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 (list license:expat license:asl2.0))))
+ ("rust-version-sync" ,rust-version-sync-0.8))))))
(define-public rust-home-0.5
(package
- 35/89: gnu: Add rust-dcv-color-primitives-0.4., (continued)
- 35/89: gnu: Add rust-dcv-color-primitives-0.4., guix-commits, 2023/02/23
- 36/89: gnu: Add rust-image-0.24., guix-commits, 2023/02/23
- 41/89: gnu: rust-av-metrics: Update to 0.9.0., guix-commits, 2023/02/23
- 31/89: gnu: Add rust-avif-parse-1., guix-commits, 2023/02/23
- 30/89: gnu: rust-aom-sys-0.3: Update to 0.3.2., guix-commits, 2023/02/23
- 39/89: gnu: rust-rgb-0.8: Update to 0.8.36., guix-commits, 2023/02/23
- 32/89: gnu: Add rust-ravif-0.8., guix-commits, 2023/02/23
- 46/89: gnu: rust-flume-0.10: Update to 0.10.14., guix-commits, 2023/02/23
- 62/89: gnu: rust-wasm-bindgen-macro-0.2: Update to 0.2.84., guix-commits, 2023/02/23
- 56/89: gnu: rust-pretty-assertions-1: Update to 1.3.0., guix-commits, 2023/02/23
- 47/89: gnu: Add rust-half-2.,
guix-commits <=
- 59/89: gnu: rust-wasm-bindgen-0.2: Update to 0.2.84., guix-commits, 2023/02/23
- 58/89: gnu: rust-v-frame: Update to 0.3.3., guix-commits, 2023/02/23
- 64/89: gnu: rust-wasm-bindgen-shared-0.2: Update to 0.2.84., guix-commits, 2023/02/23
- 51/89: gnu: rust-libz-sys-1: Update to 1.1.8., guix-commits, 2023/02/23
- 50/89: gnu: Add rust-libdeflate-sys-0.11., guix-commits, 2023/02/23
- 69/89: gnu: rav1e: Update to 0.6.3., guix-commits, 2023/02/23
- 67/89: gnu: rust-web-sys-0.3: Update to 0.3.61., guix-commits, 2023/02/23
- 65/89: gnu: rust-wasm-bindgen-test-0.3: Update to 0.3.34., guix-commits, 2023/02/23
- 72/89: gnu: Add rust-maybe-rayon-0.1., guix-commits, 2023/02/23
- 73/89: gnu: Remove rust-lexical-5., guix-commits, 2023/02/23