[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#54741] [PATCH] gnu: rust-pyo3-0.15: Fix inputs.
From: |
Brian Kubisiak |
Subject: |
[bug#54741] [PATCH] gnu: rust-pyo3-0.15: Fix inputs. |
Date: |
Tue, 5 Apr 2022 15:30:46 -0700 |
* gnu/packages/crates-io.scm(rust-pyo3-0.15)[arguments]<#:phases>: Substitute
rust-criterion version 0.3.4 to 0.3.5.
---
gnu/packages/crates-io.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bebc1fce8d..a11c58f9e0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45746,7 +45746,14 @@ (define-public rust-pyo3-0.15
("rust-serde-json" ,rust-serde-json-1)
("rust-trybuild" ,rust-trybuild-1))
;; FIXME: fails to initialize Python interpreter.
- #:tests? #f))
+ #:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-cargo-toml
+ (lambda _
+ (substitute* "Cargo.toml"
+ (("0.3.4") ,(package-version rust-criterion-0.3)))
+ #t)))))
(inputs (list python))
(home-page "https://github.com/pyo3/pyo3")
(synopsis "Rust bindings for the Python interpreter")
--
2.34.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#54741] [PATCH] gnu: rust-pyo3-0.15: Fix inputs.,
Brian Kubisiak <=