gnu: rust-pyo3: Allow compilation with Criterion 0.3.5.
Fixes a regression introduced in
2703daf6eb
.
* gnu/packages/crates-io.scm (rust-pyo3-0.15)[modules, snippet]: New
fields.
This commit is contained in:
parent
f785299af1
commit
09fcd191e1
1 changed files with 8 additions and 1 deletions
|
@ -45716,7 +45716,14 @@ (define-public rust-pyo3-0.15
|
|||
(uri (crate-uri "pyo3" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "082p014xd8ipwnfsq1ln871wkslxmbrxd7kpqwa0mbq53jzivw3w"))))
|
||||
(base32 "082p014xd8ipwnfsq1ln871wkslxmbrxd7kpqwa0mbq53jzivw3w"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
;; XXX: Relax "dev-dependencies.criterion"; this must match the
|
||||
;; version of RUST-CRITERION-0.3.
|
||||
'(substitute* "Cargo.toml"
|
||||
(("\"=0\\.3\\.4\"")
|
||||
"\"=0.3.5\"")))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
|
|
Loading…
Reference in a new issue