[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
111/194: gnu: Add rust-tokio-macros-2.
From: |
guix-commits |
Subject: |
111/194: gnu: Add rust-tokio-macros-2. |
Date: |
Tue, 3 Oct 2023 14:57:41 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit e04520b8f66ec32d6fd396e9c1a924763309f996
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 2 08:10:48 2023 +0300
gnu: Add rust-tokio-macros-2.
* gnu/packages/crates-io.scm (rust-tokio-macros-2): New variable.
(rust-tokio-macros-1): Inherit from rust-tokio-macros-2.
---
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++------
1 file changed, 27 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4c63daf724..c562c5bf35 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -71418,30 +71418,51 @@ futures efficiently")
operations.")
(license (list license:expat license:asl2.0))))
-(define-public rust-tokio-macros-1
+(define-public rust-tokio-macros-2
(package
(name "rust-tokio-macros")
- (version "1.7.0")
+ (version "2.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "tokio-macros" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1ds34qsfvgf63cjgdx3gr4pl7i76fifyar15ksbillcc8hpzfmxm"))))
+ (base32 "0pk7y9dfanab886iaqwcbri39jkw33kgl7y07v0kg1pp8prdq2v3"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:cargo-test-flags '("--release" "--lib")
#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))))
+ ("rust-syn" ,rust-syn-2))
+ #:cargo-development-inputs
+ (("rust-tokio" ,rust-tokio-1))))
(home-page "https://tokio.rs")
(synopsis "Tokio's proc macros")
(description "This package provides Tokio's proc macros.")
(license license:expat)))
+(define-public rust-tokio-macros-1
+ (package
+ (inherit rust-tokio-macros-2)
+ (name "rust-tokio-macros")
+ (version "1.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ds34qsfvgf63cjgdx3gr4pl7i76fifyar15ksbillcc8hpzfmxm"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))))
+
(define-public rust-tokio-macros-0.3
(package
(inherit rust-tokio-macros-1)
- 92/194: gnu: rust-link-cplusplus-1: Update to 1.0.9., (continued)
- 92/194: gnu: rust-link-cplusplus-1: Update to 1.0.9., guix-commits, 2023/10/03
- 93/194: gnu: rust-miniz-oxide-0.6: Downgrade to 0.6.2., guix-commits, 2023/10/03
- 96/194: gnu: rust-miniz-oxide-0.3: Update to 0.3.7., guix-commits, 2023/10/03
- 95/194: gnu: rust-miniz-oxide-0.4: Update to 0.4.4., guix-commits, 2023/10/03
- 97/194: gnu: rust-pkg-config-0.3: Update to 0.3.27., guix-commits, 2023/10/03
- 104/194: gnu: rust-nix-0.24: Update to 0.24.3., guix-commits, 2023/10/03
- 101/194: gnu: Add rust-loom-0.7., guix-commits, 2023/10/03
- 105/194: gnu: rust-pin-project-lite-0.2: Update to 0.2.13., guix-commits, 2023/10/03
- 106/194: gnu: Add rust-rustix-0.38., guix-commits, 2023/10/03
- 110/194: gnu: rust-tokio-1: Update to 1.32.0., guix-commits, 2023/10/03
- 111/194: gnu: Add rust-tokio-macros-2.,
guix-commits <=
- 52/194: gnu: Add rust-rctree-0.5., guix-commits, 2023/10/03
- 109/194: gnu: Add rust-socket2-0.5., guix-commits, 2023/10/03
- 114/194: gnu: rust-openssl-0.10: Update to 0.10.57., guix-commits, 2023/10/03
- 119/194: gnu: Add rust-abi-stable-0.10., guix-commits, 2023/10/03
- 120/194: gnu: Add rust-mimalloc-rust-0.1., guix-commits, 2023/10/03
- 123/194: gnu: Add rust-auto-impl-0.5., guix-commits, 2023/10/03
- 131/194: gnu: rust-sourcemap-6: Update to 6.4.1., guix-commits, 2023/10/03
- 117/194: gnu: python-cryptography: Update to 41.0.4., guix-commits, 2023/10/03
- 124/194: gnu: Add rust-convert-case-0.6., guix-commits, 2023/10/03
- 143/194: gnu: Add rust-unreachable-0.1., guix-commits, 2023/10/03