mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-17 00:18:16 -05:00
gnu: rust-pyo3-0.15: Update to 0.15.2.
* gnu/packages/crates-io.scm (rust-pyo3-0.15): Update to 0.15.2. [source]: Adjust snippet to substitute more version strings. [cargo-inputs]: Replace rust-indexmap-1 with 1.6. [cargo-development-inputs]: Add rust-clap-2. Replace rust-bitflags-1.2 with 1.
This commit is contained in:
parent
d61ceef587
commit
a0e6864d4e
1 changed files with 8 additions and 10 deletions
|
@ -44423,29 +44423,26 @@ (define-public rust-pyo3-0.15
|
||||||
(package
|
(package
|
||||||
(inherit rust-pyo3-0.16)
|
(inherit rust-pyo3-0.16)
|
||||||
(name "rust-pyo3")
|
(name "rust-pyo3")
|
||||||
(version "0.15.1")
|
(version "0.15.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "pyo3" version))
|
(uri (crate-uri "pyo3" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "082p014xd8ipwnfsq1ln871wkslxmbrxd7kpqwa0mbq53jzivw3w"))
|
(base32 "0ljp3m1frg8y50al4cbadwxfwwrgsvslmljclp4cf20y4ykm07fl"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
;; XXX: Relax "dev-dependencies.criterion"; this must match the
|
'(begin (substitute* "Cargo.toml"
|
||||||
;; version of RUST-CRITERION-0.3.
|
(("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
|
||||||
'(substitute* "Cargo.toml"
|
(string-append "\"^" version)))))))
|
||||||
(("\"=0\\.3\\.4\"")
|
|
||||||
"\"^0.3.4\"")))))
|
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-anyhow" ,rust-anyhow-1)
|
(("rust-anyhow" ,rust-anyhow-1)
|
||||||
("rust-cfg-if" ,rust-cfg-if-1)
|
("rust-cfg-if" ,rust-cfg-if-1)
|
||||||
("rust-eyre" ,rust-eyre-0.6)
|
("rust-eyre" ,rust-eyre-0.6)
|
||||||
("rust-hashbrown" ,rust-hashbrown-0.11)
|
("rust-hashbrown" ,rust-hashbrown-0.11)
|
||||||
("rust-indexmap" ,rust-indexmap-1)
|
("rust-indexmap" ,rust-indexmap-1.6)
|
||||||
("rust-indoc" ,rust-indoc-0.3)
|
("rust-indoc" ,rust-indoc-0.3)
|
||||||
("rust-inventory" ,rust-inventory-0.1)
|
("rust-inventory" ,rust-inventory-0.1)
|
||||||
("rust-libc" ,rust-libc-0.2)
|
("rust-libc" ,rust-libc-0.2)
|
||||||
|
@ -44459,7 +44456,8 @@ (define-public rust-pyo3-0.15
|
||||||
("rust-unindent" ,rust-unindent-0.1))
|
("rust-unindent" ,rust-unindent-0.1))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-assert-approx-eq" ,rust-assert-approx-eq-1)
|
(("rust-assert-approx-eq" ,rust-assert-approx-eq-1)
|
||||||
("rust-bitflags" ,rust-bitflags-1.2)
|
("rust-bitflags" ,rust-bitflags-1)
|
||||||
|
("rust-clap" ,rust-clap-2)
|
||||||
("rust-criterion" ,rust-criterion-0.3)
|
("rust-criterion" ,rust-criterion-0.3)
|
||||||
("rust-half" ,rust-half-1)
|
("rust-half" ,rust-half-1)
|
||||||
("rust-proptest" ,rust-proptest-0.10)
|
("rust-proptest" ,rust-proptest-0.10)
|
||||||
|
|
Loading…
Reference in a new issue