[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
31/68: gnu: Add rust-deadpool-0.9.
From: |
guix-commits |
Subject: |
31/68: gnu: Add rust-deadpool-0.9. |
Date: |
Wed, 20 Mar 2024 11:24:32 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit dc310a7d73f7594f10176e8a1d0b754f4bc03518
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:08:12 2024 +0100
gnu: Add rust-deadpool-0.9.
* gnu/packages/crates-io.scm (rust-deadpool-0.9): Add variable.
(rust-deadpool-0.7): Inherit from rust-deadpool-0.9.
Change-Id: I8aee483f5a9e8e7d0a1c11c1452809a957b40e72
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 41 +++++++++++++++++++++++++++++++++--------
1 file changed, 33 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0919ab61cf..55fd468246 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18840,8 +18840,40 @@ sizes. Big-endian order is used. WARNING: Block must
be aligned!")
"This crate is a framework for writing D-Bus method handlers (legacy).")
(license (list license:asl2.0 license:expat))))
+(define-public rust-deadpool-0.9
+ (package
+ (name "rust-deadpool")
+ (version "0.9.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "deadpool" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0vl5qg5pfx0c9c41g299clfdgz9la6z8361aycb21cia1zwy07s2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-deadpool-runtime" ,rust-deadpool-runtime-0.1)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-retain-mut" ,rust-retain-mut-0.1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-tokio" ,rust-tokio-1))
+ #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1)
+ ("rust-config" ,rust-config-0.13)
+ ("rust-criterion" ,rust-criterion-0.3)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/bikeshedder/deadpool")
+ (synopsis "Dead simple async pool")
+ (description
+ "Deadpool is a dead simple async pool for connections and objects
+of any type.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-deadpool-0.7
(package
+ (inherit rust-deadpool-0.9)
(name "rust-deadpool")
(version "0.7.0")
(source
@@ -18851,7 +18883,6 @@ sizes. Big-endian order is used. WARNING: Block must
be aligned!")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0vb18xvhmyg6gvvq5vrcqmy4x26ryrmkqpsgwmb4bvkav1wn24ix"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -18860,13 +18891,7 @@ sizes. Big-endian order is used. WARNING: Block must
be aligned!")
("rust-crossbeam-queue" ,rust-crossbeam-queue-0.3)
("rust-num-cpus" ,rust-num-cpus-1)
("rust-serde" ,rust-serde-1)
- ("rust-tokio" ,rust-tokio-1))))
- (home-page "https://github.com/bikeshedder/deadpool")
- (synopsis "Dead simple async pool")
- (description
- "Deadpool is a dead simple async pool for connections and objects of any
-type.")
- (license (list license:expat license:asl2.0))))
+ ("rust-tokio" ,rust-tokio-1))))))
(define-public rust-deadpool-runtime-0.1
(package
- 60/68: gnu: Add rust-x509-cert-0.2., (continued)
- 60/68: gnu: Add rust-x509-cert-0.2., guix-commits, 2024/03/20
- 58/68: gnu: Add rust-codegenrs-3., guix-commits, 2024/03/20
- 56/68: gnu: Add rust-tls-codec-derive-0.4., guix-commits, 2024/03/20
- 55/68: gnu: Add rust-serde-with-1., guix-commits, 2024/03/20
- 61/68: gnu: rust-const-oid-0.9: Update to 0.9.6., guix-commits, 2024/03/20
- 62/68: gnu: rust-der-0.7: Update to 0.7.8., guix-commits, 2024/03/20
- 63/68: gnu: rust-der-derive-0.7: Update to 0.7.2., guix-commits, 2024/03/20
- 67/68: gnu: Add rust-async-compat-0.2., guix-commits, 2024/03/20
- 65/68: gnu: Add rust-bs58-0.5., guix-commits, 2024/03/20
- 30/68: gnu: Add rust-deadpool-runtime-0.1., guix-commits, 2024/03/20
- 31/68: gnu: Add rust-deadpool-0.9.,
guix-commits <=
- 28/68: gnu: Add rust-temp-env-0.2., guix-commits, 2024/03/20
- 24/68: gnu: Add rust-thrift-0.17., guix-commits, 2024/03/20
- 27/68: gnu: Add rust-json5-0.4., guix-commits, 2024/03/20
- 35/68: gnu: Add rust-schemars-derive-0.6., guix-commits, 2024/03/20
- 39/68: gnu: Add rust-wiremock-0.5., guix-commits, 2024/03/20
- 40/68: gnu: rust-darling-core-0.13: Update to 0.13.4., guix-commits, 2024/03/20
- 46/68: gnu: rust-surf-2: Update to 2.3.2., guix-commits, 2024/03/20
- 47/68: gnu: rust-trust-dns-proto-0.18: Downgrade to 0.18.0-alpha.2., guix-commits, 2024/03/20
- 41/68: gnu: rust-darling-macro-0.13: Update to 0.13.4., guix-commits, 2024/03/20
- 53/68: gnu: rust-actix-connect-1: Don't skip the build., guix-commits, 2024/03/20