unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#54741] [PATCH] gnu: rust-pyo3-0.15: Fix inputs.
@ 2022-04-05 22:30 Brian Kubisiak
  2022-05-02 20:18 ` bug#54741: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Kubisiak @ 2022-04-05 22:30 UTC (permalink / raw)
  To: 54741

* 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






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#54741: [PATCH] gnu: rust-pyo3-0.15: Fix inputs.
  2022-04-05 22:30 [bug#54741] [PATCH] gnu: rust-pyo3-0.15: Fix inputs Brian Kubisiak
@ 2022-05-02 20:18 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-05-02 20:18 UTC (permalink / raw)
  To: Brian Kubisiak; +Cc: 54741-done

Hi,

Brian Kubisiak <brian@kubisiak.com> skribis:

> * gnu/packages/crates-io.scm(rust-pyo3-0.15)[arguments]<#:phases>: Substitute
>   rust-criterion version 0.3.4 to 0.3.5.

Oops I independently pushed something to the same effect in
09fcd191e14824dc9569611d6b2d4e423ef5b106.

Thanks,
Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-02 20:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-05 22:30 [bug#54741] [PATCH] gnu: rust-pyo3-0.15: Fix inputs Brian Kubisiak
2022-05-02 20:18 ` bug#54741: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).