[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
206/373: gnu: Add rust-half-2.
From: |
guix-commits |
Subject: |
206/373: gnu: Add rust-half-2. |
Date: |
Sun, 16 Apr 2023 07:11:06 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 30488ca3ae112233f091f7b0d4f013a7155a89cc
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 464f29ec0f..b2010917a7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25626,8 +25626,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
@@ -25637,7 +25669,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))
@@ -25646,13 +25677,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
- 174/373: gnu: Remove rust-parity-wasm-0.40., (continued)
- 174/373: gnu: Remove rust-parity-wasm-0.40., guix-commits, 2023/04/16
- 176/373: gnu: Remove rust-ntest-0.3., guix-commits, 2023/04/16
- 178/373: gnu: Remove rust-git2-curl-0.14., guix-commits, 2023/04/16
- 179/373: gnu: Remove rust-gettext-sys-0.19., guix-commits, 2023/04/16
- 184/373: gnu: Remove rust-askama-0.10., guix-commits, 2023/04/16
- 188/373: gnu: rust-imgref-1: Update to 1.9.4., guix-commits, 2023/04/16
- 191/373: gnu: Add rust-ravif-0.8., guix-commits, 2023/04/16
- 195/373: gnu: Add rust-image-0.24., guix-commits, 2023/04/16
- 199/373: gnu: Add rust-tiff-0.8., guix-commits, 2023/04/16
- 205/373: gnu: rust-flume-0.10: Update to 0.10.14., guix-commits, 2023/04/16
- 206/373: gnu: Add rust-half-2.,
guix-commits <=
- 207/373: gnu: rust-js-sys-0.3: Update to 0.3.61., guix-commits, 2023/04/16
- 216/373: gnu: rust-test-assembler-0.1: Fix inputs., guix-commits, 2023/04/16
- 219/373: gnu: rust-wasm-bindgen-backend-0.2: Update to 0.2.84., guix-commits, 2023/04/16
- 220/373: gnu: rust-wasm-bindgen-futures-0.4: Update to 0.4.34., guix-commits, 2023/04/16
- 221/373: gnu: rust-wasm-bindgen-macro-0.2: Update to 0.2.84., guix-commits, 2023/04/16
- 222/373: gnu: rust-wasm-bindgen-macro-support-0.2: Update to 0.2.84., guix-commits, 2023/04/16
- 223/373: gnu: rust-wasm-bindgen-shared-0.2: Update to 0.2.84., guix-commits, 2023/04/16
- 225/373: gnu: rust-wasm-bindgen-test-macro-0.3: Update to 0.3.34., guix-commits, 2023/04/16
- 227/373: gnu: rust-weezl-0.1: Update to 0.1.7., guix-commits, 2023/04/16
- 234/373: gnu: Remove rust-crunchy-0.1., guix-commits, 2023/04/16