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:
Ludovic Courtès 2022-04-28 23:54:59 +02:00
parent f785299af1
commit 09fcd191e1
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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