diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-04-28 23:54:59 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-04-29 01:04:24 +0200 |
commit | 391dc965299de6b2313e0f2c6c52ceef3294e55f (patch) | |
tree | 93080dca2118e70ede3be19033113b22c6c71920 /gnu | |
parent | 10ff74d3974f517890ef74650d0031722c971cf4 (diff) |
gnu: rust-pyo3: Allow compilation with Criterion 0.3.5.
Fixes a regression introduced in
2703daf6eb0098ad064a9b6ec64a9ae7b5b35343.
* gnu/packages/crates-io.scm (rust-pyo3-0.15)[modules, snippet]: New
fields.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bebc1fce8d..c8ce72b129 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -45716,7 +45716,14 @@ ecosystem.") (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 |