aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-20 01:28:23 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-24 11:05:54 +0200
commit074f9ad441bb2b0d33322b2c75975bdaf687d8aa (patch)
treecffc577e5ff66210969e35f4312448bf6ae43107 /gnu
parent86234fb6d468965451a47c7a5d2c352e170f9b02 (diff)
downloadpatches-074f9ad441bb2b0d33322b2c75975bdaf687d8aa.tar
patches-074f9ad441bb2b0d33322b2c75975bdaf687d8aa.tar.gz
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 913c42f850..8f45da74e0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13762,6 +13762,36 @@ words, like Python's shlex.")
(("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")