mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add rust-simd-0.2.
* gnu/packages/crates-io.scm (rust-simd-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
86234fb6d4
commit
074f9ad441
1 changed files with 30 additions and 0 deletions
|
@ -13762,6 +13762,36 @@ (define-public rust-signal-hook-registry-1.0
|
|||
(("rust-signal-hook" ,rust-signal-hook-0.1)
|
||||
("rust-version-sync" ,rust-version-sync-0.8))))))
|
||||
|
||||
(define-public rust-simd-0.2
|
||||
(package
|
||||
(name "rust-simd")
|
||||
(version "0.2.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "simd" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1dgpmfzd4favsckd5m0p6bna1dcgw19hjigkqcgwfhc4d05hxczj"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t ; Crate no longer builds on Rust 1.33+
|
||||
#:cargo-inputs
|
||||
(("rust-serde" ,rust-serde-1.0)
|
||||
("rust-serde-derive" ,rust-serde-derive-1.0))
|
||||
#:cargo-development-inputs
|
||||
(("rust-cfg-if" ,rust-cfg-if-0.1))))
|
||||
(home-page "https://github.com/hsivonen/simd")
|
||||
(synopsis "Limited cross-platform access to SIMD instructions on CPUs")
|
||||
(description
|
||||
"@code{simd} offers limited cross-platform access to SIMD instructions on
|
||||
CPUs, as well as raw interfaces to platform-specific instructions.
|
||||
(To be obsoleted by the @code{std::simd} implementation RFC 2366.)
|
||||
")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-siphasher-0.2
|
||||
(package
|
||||
(name "rust-siphasher")
|
||||
|
|
Loading…
Reference in a new issue