From: Vinicius Monego <monego@posteo.net>
To: 49545@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#49545] [PATCH 3/4] gnu: rust-system-deps-1: Fix version requirements.
Date: Tue, 13 Jul 2021 17:19:36 +0000 [thread overview]
Message-ID: <20210713171937.498891-3-monego@posteo.net> (raw)
In-Reply-To: <20210713171937.498891-1-monego@posteo.net>
* gnu/packages/crates-io.scm (rust-system-deps-1)[source]: Add snippet to fix
rust-version-compare version.
[arguments]<#:phases>: Remove 'fix-version-requirements phase.
---
gnu/packages/crates-io.scm | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9f7f5a1b3f..eeebf4bd54 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45454,7 +45454,12 @@ processors, disks, components and networks.")
(uri (crate-uri "system-deps" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "16v4ljmj8sj030mdcc1yk615vciqlyxi7csq6lxka6cs4qbwqghg"))))
+ (base32 "16v4ljmj8sj030mdcc1yk615vciqlyxi7csq6lxka6cs4qbwqghg"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (substitute* "Cargo.toml"
+ (("0.0.10") "0.0"))
+ #t))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ;source is missing some test files
@@ -45467,13 +45472,7 @@ processors, disks, components and networks.")
("rust-toml" ,rust-toml-0.5)
("rust-version-compare" ,rust-version-compare-0.0))
#:cargo-development-inputs
- (("rust-itertools" ,rust-itertools-0.9))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-version-requirements
- (lambda _
- (substitute* "Cargo.toml"
- (("0.0.10") ,(package-version rust-version-compare-0.0))))))))
+ (("rust-itertools" ,rust-itertools-0.9))))
(home-page "https://github.com/gdesmott/system-deps")
(synopsis "Define system dependencies in @file{Cargo.toml}")
(description
--
2.32.0
next prev parent reply other threads:[~2021-07-13 17:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-13 17:17 [bug#49545] [PATCH 0/4] gnu: Add rust-mpris-player-0.6 Vinicius Monego
2021-07-13 17:19 ` [bug#49545] [PATCH 1/4] gnu: Add rust-libdbus-sys-0.2 Vinicius Monego
2021-07-13 17:19 ` [bug#49545] [PATCH 2/4] gnu: Add rust-dbus-0.6 Vinicius Monego
2021-07-13 17:19 ` Vinicius Monego [this message]
2021-07-13 17:19 ` [bug#49545] [PATCH 4/4] gnu: Add rust-mpris-player-0.6 Vinicius Monego
2021-07-15 7:35 ` bug#49545: [PATCH 0/4] " Efraim Flashner
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=20210713171937.498891-3-monego@posteo.net \
--to=monego@posteo.net \
--cc=49545@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).