gnu: rust-packed-simd-2-0.3: Update to 0.3.8.
* gnu/packages/crates-io.scm (rust-packed-simd-2-0.3): Update to 0.3.8. [source]: Generalize snippet allowing newer versions of dependencies. [arguments]: Don't skip build. Remove trailing #t from phases. [cargo-inputs]: Replace rust-cfg-if-0.1 with 1.
This commit is contained in:
parent
406f48675e
commit
5daeaa6c8a
1 changed files with 6 additions and 11 deletions
|
|
@ -38968,7 +38968,7 @@ normally prevent moving a type that has been borrowed from.")
|
||||||
(define-public rust-packed-simd-2-0.3
|
(define-public rust-packed-simd-2-0.3
|
||||||
(package
|
(package
|
||||||
(name "rust-packed-simd-2")
|
(name "rust-packed-simd-2")
|
||||||
(version "0.3.6")
|
(version "0.3.8")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
|
@ -38976,21 +38976,17 @@ normally prevent moving a type that has been borrowed from.")
|
||||||
(file-name
|
(file-name
|
||||||
(string-append name "-" version ".tar.gz"))
|
(string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1i8hmhsyzqsas2rhxg088mcwvzljrqhvf8lfz8b1dj6g2rkw1h3i"))
|
(base32 "10p2bm0p57shg3arlpfwm6z0bbnlkyr4g0dlkmpwvz6qaba4r4d1"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
;; Unpin the dependencies.
|
;; Unpin the dependencies.
|
||||||
(substitute* "Cargo.toml"
|
(substitute* "Cargo.toml"
|
||||||
(("=0.2.73") "^0.2.73")
|
(("version = \"=") "version = \"^"))))))
|
||||||
(("=0.3.23") "^0.3.23"))
|
|
||||||
#t))))
|
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; error[E0432]: unresolved import `packed_simd`
|
`(#:cargo-inputs
|
||||||
#:skip-build? #t
|
(("rust-cfg-if" ,rust-cfg-if-1)
|
||||||
#:cargo-inputs
|
|
||||||
(("rust-cfg-if" ,rust-cfg-if-0.1)
|
|
||||||
("rust-core-arch" ,rust-core-arch-0.1)
|
("rust-core-arch" ,rust-core-arch-0.1)
|
||||||
("rust-libm" ,rust-libm-0.1)
|
("rust-libm" ,rust-libm-0.1)
|
||||||
("rust-sleef-sys" ,rust-sleef-sys-0.1))
|
("rust-sleef-sys" ,rust-sleef-sys-0.1))
|
||||||
|
|
@ -39003,8 +38999,7 @@ normally prevent moving a type that has been borrowed from.")
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'enable-unstable-features
|
(add-after 'unpack 'enable-unstable-features
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "RUSTC_BOOTSTRAP" "1")
|
(setenv "RUSTC_BOOTSTRAP" "1"))))))
|
||||||
#t)))))
|
|
||||||
(home-page "https://github.com/rust-lang-nursery/packed_simd")
|
(home-page "https://github.com/rust-lang-nursery/packed_simd")
|
||||||
(synopsis "Portable Packed SIMD vectors")
|
(synopsis "Portable Packed SIMD vectors")
|
||||||
(description "Portable Packed SIMD vectors.")
|
(description "Portable Packed SIMD vectors.")
|
||||||
|
|
|
||||||
Reference in a new issue