[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
355/459: gnu: rust-syn-1: Update to 1.0.109.
From: |
guix-commits |
Subject: |
355/459: gnu: rust-syn-1: Update to 1.0.109. |
Date: |
Mon, 24 Apr 2023 15:03:49 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit c3bf555eb7220565abfe6335a05e6f885b4d12d3
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Mar 22 22:48:18 2023 +0100
gnu: rust-syn-1: Update to 1.0.109.
* gnu/packages/crates-io.scm (rust-syn-1): Update to 1.0.109.
[arguments]: Do not skip build; add phase to patch out dependency on
syn-test-suite; disable tests.
<cargo-development-inputs>: Add rust-anyhow, rust-automod, rust-flate2,
rust-insta, rust-rayon, rust-ref-cast, rust-regex, rust-reqwest, rust-tar,
rust-termcolor, and rust-walkdir.
[inputs]: Add openssl.
[native-inputs]: Add pkg-config.
---
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++----
1 file changed, 29 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e6f9a1e345..3ba2e62d57 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60138,7 +60138,7 @@ a syntax tree of Rust source code.")
(define-public rust-syn-1
(package
(name "rust-syn")
- (version "1.0.105")
+ (version "1.0.109")
(source
(origin
(method url-fetch)
@@ -60146,14 +60146,39 @@ a syntax tree of Rust source code.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0279ivl07g0y5fs5bwmglhkdvi99ypcm36yb774f8bbh8lyv9fb0"))))
+ "0ds2if4600bd59wsv7jjgfkayfzy3hnazs394kz6zdkmna8l3dkj"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#: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
+ ;; error[E0432]: unresolved imports `syn::Item`, `syn::Pat`
+ #:tests? #false
#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-unicode-ident" ,rust-unicode-ident-1))))
+ ("rust-unicode-ident" ,rust-unicode-ident-1))
+ #:cargo-development-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-automod" ,rust-automod-1)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-insta" ,rust-insta-1)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-ref-cast" ,rust-ref-cast-1)
+ ("rust-regex" ,rust-regex-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
- 333/459: gnu: rust-windows-i686-gnu-0.42: Update to 0.42.2., (continued)
- 333/459: gnu: rust-windows-i686-gnu-0.42: Update to 0.42.2., guix-commits, 2023/04/24
- 338/459: gnu: rust-windows-x86-64-gnu-0.42: Update to 0.42.2., guix-commits, 2023/04/24
- 334/459: gnu: rust-windows-aarch64-msvc-0.42: Update to 0.42.2., guix-commits, 2023/04/24
- 336/459: gnu: rust-windows-x86-64-msvc-0.42: Update to 0.42.2., guix-commits, 2023/04/24
- 337/459: gnu: rust-windows-x86-64-gnullvm-0.42: Update to 0.42.2., guix-commits, 2023/04/24
- 343/459: gnu: rust-uuid-1: Update to 1.3.0., guix-commits, 2023/04/24
- 340/459: gnu: rust-typenum-1: Update to 1.16.0., guix-commits, 2023/04/24
- 346/459: gnu: rust-bytecheck-0.6: Update to 0.6.10., guix-commits, 2023/04/24
- 350/459: gnu: rust-quote-1: Update to 1.0.25., guix-commits, 2023/04/24
- 353/459: gnu: Add rust-castaway-0.2., guix-commits, 2023/04/24
- 355/459: gnu: rust-syn-1: Update to 1.0.109.,
guix-commits <=
- 360/459: gnu: Add rust-windows-interface-0.46., guix-commits, 2023/04/24
- 385/459: gnu: rust-cargo-edit: Fix build., guix-commits, 2023/04/24
- 358/459: gnu: Add rust-test-strategy-0.2., guix-commits, 2023/04/24
- 381/459: gnu: sniffglue: Update to 0.15.0., guix-commits, 2023/04/24
- 366/459: gnu: rust: Disable tests that fail on aarch64., guix-commits, 2023/04/24
- 365/459: gnu: Add python-orjson., guix-commits, 2023/04/24
- 380/459: gnu: rust-syscallz-0.15: Update to 0.16.2., guix-commits, 2023/04/24
- 376/459: gnu: rust-nom-derive-0.7: Update to 0.10.1., guix-commits, 2023/04/24
- 379/459: gnu: rust-pledge-0.3: Update to 0.4.2., guix-commits, 2023/04/24
- 368/459: gnu: Add rust-bitflags-2., guix-commits, 2023/04/24