[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69257] [PATCH 122/228] gnu: Add rust-deadpool-0.9.
From: |
Herman Rimm |
Subject: |
[bug#69257] [PATCH 122/228] gnu: Add rust-deadpool-0.9. |
Date: |
Sun, 18 Feb 2024 22:08:12 +0100 |
* gnu/packages/crates-io.scm (rust-deadpool-0.9): Add variable.
(rust-deadpool-0.7): Inherit from rust-deadpool-0.9.
Change-Id: I8aee483f5a9e8e7d0a1c11c1452809a957b40e72
---
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 7b060ddf51..b18058485c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17877,8 +17877,40 @@ (define-public rust-dbus-tree-0.9
"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
@@ -17888,7 +17920,6 @@ (define-public rust-deadpool-0.7
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0vb18xvhmyg6gvvq5vrcqmy4x26ryrmkqpsgwmb4bvkav1wn24ix"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -17897,13 +17928,7 @@ (define-public rust-deadpool-0.7
("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
--
2.41.0
- [bug#69257] [PATCH 109/228] gnu: Add rust-mas-keystore-0.7., (continued)
- [bug#69257] [PATCH 109/228] gnu: Add rust-mas-keystore-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 108/228] gnu: Add rust-chacha20poly1305-0.10., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 110/228] gnu: Place rust-const-format-proc-macros-0.2 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 113/228] gnu: Place rust-const-cstr-0.3 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 112/228] gnu: Place rust-const-fn-assert-0.1 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 114/228] gnu: Place rust-compound-duration-1 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 115/228] gnu: Add rust-warp-0.3., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 111/228] gnu: Place rust-const-format-0.2 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 120/228] gnu: Add rust-config-0.13., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 119/228] gnu: Add rust-temp-env-0.2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 122/228] gnu: Add rust-deadpool-0.9.,
Herman Rimm <=
- [bug#69257] [PATCH 125/228] gnu: Add rust-mas-oidc-client-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 123/228] gnu: Add rust-assert-json-diff-2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 128/228] gnu: Add rust-konst-proc-macros-0.3., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 126/228] gnu: Add rust-matrix-sdk-test-macros-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 129/228] gnu: Place rust-konst-macro-rules-0.2 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 131/228] gnu: Add rust-typewit-1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 136/228] gnu: Place rust-koibumi-base32-0.0.2 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 143/228] gnu: Add rust-wildmatch-2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 145/228] gnu: Add rust-ruma-common-0.12., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 132/228] gnu: Add rust-const-panic-proc-macros-0.2., Herman Rimm, 2024/02/18