aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-09-21 00:06:59 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-10-12 11:42:04 +0530
commit1424da639db35eff309b05340f8aef6139368fe1 (patch)
tree7747d0a4ce7d20a2e4d2b6d740b55e1762bef2a0
parent7f4b985f063601690dcc6d4af4874f8aeab60af5 (diff)
downloadguix-1424da639db35eff309b05340f8aef6139368fe1.tar.gz
guix-1424da639db35eff309b05340f8aef6139368fe1.zip
gnu: Add rust-r2d2.
* gnu/packages/crates-io.scm (rust-r2d2): New variable.
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b167cbb993..96fa84434b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19926,6 +19926,29 @@ integers, floats, tuples, booleans, lists, strings, options and results.")
"0yhnnix4dzsv8y4wwz4csbnqjfh73al33j35msr10py6cl5r4vks"))))
(arguments '())))
+(define-public rust-r2d2
+ (package
+ (name "rust-r2d2")
+ (version "0.8.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "r2d2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0vxjgh83bss63mkx308p16iwl33s80c781p422f3r5w0p315np2l"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-log" ,rust-log-0.4)
+ ("rust-parking-lot" ,rust-parking-lot-0.11)
+ ("rust-scheduled-thread-pool" ,rust-scheduled-thread-pool-0.2))))
+ (home-page "https://github.com/sfackler/r2d2")
+ (synopsis "A generic connection pool")
+ (description "This package provides a generic connection pool.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-racer-cargo-metadata-0.1
(package
(name "rust-racer-cargo-metadata")