guix-commits
[Top][All Lists]
Advanced

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

362/384: gnu: Add rust-object-pool-0.5.


From: guix-commits
Subject: 362/384: gnu: Add rust-object-pool-0.5.
Date: Thu, 10 Oct 2024 07:58:54 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit aa3790a22389842b0a4469645c0b460f69fcd793
Author: Steve George <steve@futurile.net>
AuthorDate: Fri Oct 4 21:59:56 2024 +0100

    gnu: Add rust-object-pool-0.5.
    
    * gnu/packages/crates-io.scm (rust-object-pool-0.5): New variable.
    
    Change-Id: I187305adf24f3377e2be4747d6fcdf0c610bd754
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index edad2d3e65..f39bc3a1a0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49991,6 +49991,32 @@ file formats.")
         ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
         ("rust-wasmparser" ,rust-wasmparser-0.57))))))
 
+(define-public rust-object-pool-0.5
+  (package
+    (name "rust-object-pool")
+    (version "0.5.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "object-pool" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0s4d6bap4b4fazz4izgqvrc6si4fdrbz2fdr09hci7nhjrqkx6pf"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags       ; Skip the doctests.
+       '("--release" "--lib" "--bins" "--tests")
+       #:cargo-inputs (("rust-parking-lot" ,rust-parking-lot-0.11))
+       #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
+                                   ("rust-criterion-plot" 
,rust-criterion-plot-0.4))))
+    (home-page "https://github.com/CJP10/object-pool";)
+    (synopsis
+     "Thread-safe object pool with automatic return and attach/detach 
semantics")
+    (description
+     "This package provides a thread-safe object pool with automatic return and
+attach/detach semantics.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-object-store-0.9
   (package
     (name "rust-object-store")



reply via email to

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