guix-commits
[Top][All Lists]
Advanced

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

159/188: gnu: Add rust-r2d2.


From: guix-commits
Subject: 159/188: gnu: Add rust-r2d2.
Date: Mon, 12 Oct 2020 02:25:31 -0400 (EDT)

arunisaac pushed a commit to branch master
in repository guix.

commit 1424da639db35eff309b05340f8aef6139368fe1
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 b167cbb..96fa844 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")



reply via email to

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