[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68819] [PATCH 22/49] gnu: Add rust-proc-macro-crate-3.
|
From: |
Herman Rimm |
|
Subject: |
[bug#68819] [PATCH 22/49] gnu: Add rust-proc-macro-crate-3. |
|
Date: |
Tue, 30 Jan 2024 16:25:05 +0100 |
* gnu/packages/crates-io.scm (rust-proc-macro-crate-3): Add variable.
(rust-proc-macro-crate-2): Inherit from rust-proc-macro-crate-3.
Change-Id: I69be44ed31c083c3a78c7f41f691b9b435b665f7
---
gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++--------
1 file changed, 28 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 792fe103f3..b840aecfd6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47767,8 +47767,35 @@ (define-public rust-priority-queue-1
priority of an object.")
(license license:expat)))
+(define-public rust-proc-macro-crate-3
+ (package
+ (name "rust-proc-macro-crate")
+ (version "3.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "proc-macro-crate" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "110jcl9vnj92ihbhjqmkp19m8rzxc14a7i60knlmv99qlwfcadvd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-toml-edit" ,rust-toml-edit-0.21))
+ #:cargo-development-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))))
+ (home-page "https://github.com/bkchr/proc-macro-crate")
+ (synopsis "Get the name of a (renamed) crate in @file{Cargo.toml}")
+ (description
+ "This crate provides a way to get the name of a crate, even if it
+is renamed in @file{Cargo.toml}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-proc-macro-crate-2
(package
+ (inherit rust-proc-macro-crate-3)
(name "rust-proc-macro-crate")
(version "2.0.1")
(source
@@ -47783,7 +47810,6 @@ (define-public rust-proc-macro-crate-2
'(begin (substitute* "Cargo.toml"
(("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
(string-append "\"^" version)))))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-test-flags '("--release" "--"
;; Not all files included.
@@ -47792,13 +47818,7 @@ (define-public rust-proc-macro-crate-2
("rust-toml-edit" ,rust-toml-edit-0.20))
#:cargo-development-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-2))))
- (home-page "https://github.com/bkchr/proc-macro-crate")
- (synopsis "Support for @code{$crate} in procedural macros")
- (description
- "This crate provides a way to get the name of a crate, even if it
-renamed in @file{Cargo.toml}.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-syn" ,rust-syn-2))))))
(define-public rust-proc-macro-crate-1
(package
--
2.41.0
- [bug#68819] [PATCH 15/49] gnu: Add rust-sensors-0.2., (continued)
- [bug#68819] [PATCH 15/49] gnu: Add rust-sensors-0.2., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 13/49] gnu: Add rust-maildir-0.6., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 26/49] gnu: Add rust-wayrs-protocols-0.13., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 28/49] gnu: Add rust-event-listener-strategy-0.4., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 31/49] gnu: Add rust-async-io-2 and rust-async-net-2 cyclical dependency., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 25/49] gnu: Add rust-wayrs-client-1., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 21/49] gnu: Add rust-swayipc-async-2., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 29/49] gnu: Add rust-async-channel-2., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 23/49] gnu: Add rust-wayrs-proto-parser-2, Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 35/49] gnu: Add rust-event-listener-3., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 22/49] gnu: Add rust-proc-macro-crate-3.,
Herman Rimm <=
- [bug#68819] [PATCH 37/49] gnu: rust-async-fs-1: Update to 1.6.0., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 48/49] gnu: Remove rust-buffering-nocopy-macro-0.1., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 32/49] gnu: Add rust-ordered-stream-0.2., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 39/49] gnu: Add rust-pandoc-0.8., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 42/49] gnu: Remove rust-neli-0.4., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 44/49] gnu: Remove rust-cpuprofiler-0.0., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 45/49] gnu: Remove rust-progress-0.2., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 10/49] gnu: Add rust-from-variants-0.6., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 41/49] gnu: Deprecate rust-nl80211-0.0.2., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 33/49] gnu: Add rust-xdg-home-1., Herman Rimm, 2024/01/30