guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

160/189: gnu: Add rust-r2d2.


From: guix-commits
Subject: 160/189: gnu: Add rust-r2d2.
Date: Mon, 21 Sep 2020 06:01:51 -0400 (EDT)

arunisaac pushed a commit to branch wip-swc
in repository guix.

commit 897d81a641f1694b8767cb058cc939f835f4d03a
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Mon Sep 21 00:06:59 2020 +0530

    gnu: Add rust-r2d2.
    
    * gnu/packages/crates-io.scm (rust-r2d2): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 43d873f..01ec497 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21654,6 +21654,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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]