aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-03-11 22:57:53 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-03-12 16:09:35 +0100
commit0f0589b8cd9d1c572cb45c9d2811f84efd6183e0 (patch)
treee6537e30361852f83dd79c320d9a7478873e9735 /gnu/packages/crates-io.scm
parentb89714b40aed8e94f5bee33ea7e6ff98a5166355 (diff)
downloadguix-0f0589b8cd9d1c572cb45c9d2811f84efd6183e0.tar
guix-0f0589b8cd9d1c572cb45c9d2811f84efd6183e0.tar.gz
gnu: Add rust-deadpool-0.7.
* gnu/packages/crates-io.scm (rust-deadpool-0.7): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3497a608e9..a001d9ca96 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10629,6 +10629,34 @@ GF(2^n). This trait is implemented for 64, 128 and 256 bit block
sizes. Big-endian order is used. WARNING: Block must be aligned!")
(license (list license:expat license:asl2.0))))
+(define-public rust-deadpool-0.7
+ (package
+ (name "rust-deadpool")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "deadpool" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0vb18xvhmyg6gvvq5vrcqmy4x26ryrmkqpsgwmb4bvkav1wn24ix"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-config" ,rust-config-0.10)
+ ("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))))
+
(define-public rust-decimal-2
(package
(name "rust-decimal")