From: Herman Rimm via Guix-patches via <guix-patches@gnu.org>
To: 75206@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#75206] [PATCH rust-team 04/10] gnu: rust-syn-1: Inherit rust-syn-2.
Date: Mon, 30 Dec 2024 18:57:39 +0100 [thread overview]
Message-ID: <9a56c7eee6b1a14d0ef6a757c79b6b38c4778005.1735580850.git.herman@rimm.ee> (raw)
In-Reply-To: <87c8753e9ba06cb3bbab6e603028c63c7be834ed.1735580850.git.herman@rimm.ee>
* gnu/packages/crates-io.scm (rust-syn-1): Inherit rust-syn-2.
[arguments]: Remove patch-test-suite phase.
Change-Id: I37bcd0cbb07d03fecdd17b96dd0ce7023a6adc06
---
gnu/packages/crates-io.scm | 25 ++++---------------------
1 file changed, 4 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e66d2fa7626..62c3ec1fc58 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80697,28 +80697,19 @@ (define-public rust-syn-2
(define-public rust-syn-1
(package
+ (inherit rust-syn-2)
(name "rust-syn")
(version "1.0.109")
(source
(origin
- (method url-fetch)
+ (inherit (package-source rust-syn-2))
(uri (crate-uri "syn" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0ds2if4600bd59wsv7jjgfkayfzy3hnazs394kz6zdkmna8l3dkj"))))
- (build-system cargo-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- ;; The syn-test-suite crate is empty.
- (add-after 'unpack 'patch-test-suite
- (lambda _
- (substitute* "Cargo.toml"
- (("^\\[dev-dependencies.syn-test-suite\\]") "")
- (("^version = \"0\"") "")
- (("^test = \\[\"syn-test-suite/all-features\"\\]") "")))))
- ;; Tests fail to compile
+ `(;; Tests fail to compile
;; error[E0432]: unresolved imports `syn::Item`, `syn::Pat`
#:tests? #false
#:cargo-inputs
@@ -80736,15 +80727,7 @@ (define-public rust-syn-1
("rust-reqwest" ,rust-reqwest-0.11)
("rust-tar" ,rust-tar-0.4)
("rust-termcolor" ,rust-termcolor-1)
- ("rust-walkdir" ,rust-walkdir-2))))
- (inputs (list openssl))
- (native-inputs (list pkg-config))
- (home-page "https://github.com/dtolnay/syn")
- (synopsis "Parser for Rust source code")
- (description
- "Syn is a parsing library for parsing a stream of Rust tokens into
-a syntax tree of Rust source code.")
- (license (list license:expat license:asl2.0))))
+ ("rust-walkdir" ,rust-walkdir-2))))))
(define-public rust-syn-0.15
(package
--
2.45.2
next prev parent reply other threads:[~2024-12-30 18:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-30 17:52 [bug#75206] [PATCH rust-team 01/10] gnu: rust-structopt-0.3: Use snippet Herman Rimm via Guix-patches via
2024-12-30 17:57 ` [bug#75206] [PATCH rust-team 02/10] gnu: rust-structopt-0.3: Build Herman Rimm via Guix-patches via
2024-12-30 17:57 ` [bug#75206] [PATCH rust-team 03/10] gnu: rust-syn-2: Use snippet Herman Rimm via Guix-patches via
2024-12-30 17:57 ` Herman Rimm via Guix-patches via [this message]
2024-12-30 17:57 ` [bug#75206] [PATCH rust-team 05/10] gnu: rust-syn-0.11: " Herman Rimm via Guix-patches via
2024-12-30 17:57 ` [bug#75206] [PATCH rust-team 06/10] gnu: rust-synom-0.11: " Herman Rimm via Guix-patches via
2024-12-30 17:57 ` [bug#75206] [PATCH rust-team 07/10] gnu: rust-synom-0.11: Fix build Herman Rimm via Guix-patches via
2024-12-30 17:57 ` [bug#75206] [PATCH rust-team 08/10] gnu: rust-uint-0.9: Use snippet Herman Rimm via Guix-patches via
2024-12-30 17:57 ` [bug#75206] [PATCH rust-team 09/10] gnu: rust-rustls-ffi-0.8: " Herman Rimm via Guix-patches via
2024-12-30 17:57 ` [bug#75206] [PATCH rust-team 10/10] gnu: rust-user32-sys-0.2: " Herman Rimm via Guix-patches via
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9a56c7eee6b1a14d0ef6a757c79b6b38c4778005.1735580850.git.herman@rimm.ee \
--to=guix-patches@gnu.org \
--cc=75206@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
--cc=herman@rimm.ee \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.