unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Brian Kubisiak <brian@kubisiak.com>
To: 54741@debbugs.gnu.org
Subject: [bug#54741] [PATCH] gnu: rust-pyo3-0.15: Fix inputs.
Date: Tue, 5 Apr 2022 15:30:46 -0700	[thread overview]
Message-ID: <20220405223046.nqy4isnaj5527cmq@peregrine> (raw)

* 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






             reply	other threads:[~2022-04-05 22:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-05 22:30 Brian Kubisiak [this message]
2022-05-02 20:18 ` bug#54741: [PATCH] gnu: rust-pyo3-0.15: Fix inputs Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220405223046.nqy4isnaj5527cmq@peregrine \
    --to=brian@kubisiak.com \
    --cc=54741@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).