[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
42/53: gnu: Add rust-threadpool.
From: |
guix-commits |
Subject: |
42/53: gnu: Add rust-threadpool. |
Date: |
Wed, 28 Aug 2019 09:55:07 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit de72b804f1786e75f0da00c32f43708a8ca96ee0
Author: Efraim Flashner <address@hidden>
Date: Wed Aug 28 16:37:50 2019 +0300
gnu: Add rust-threadpool.
* gnu/packages/crates-io.scm (rust-threadpool): New variable.
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1c53d80..0045414 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1560,6 +1560,30 @@ return values to @code{std::io::Result} to indicate
success or failure.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-threadpool
+ (package
+ (name "rust-threadpool")
+ (version "1.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "threadpool" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0rd89n1q7vy47w4c32cnynibffv9kj3jy3dwr0536n9lbw5ckw72"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-num-cpus" ,rust-num-cpus))))
+ (home-page "https://github.com/rust-threadpool/rust-threadpool")
+ (synopsis "Thread pool for running jobs on a fixed set of worker threads")
+ (description
+ "This package provides a thread pool for running a number of jobs on a
+fixed set of worker threads.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-typenum
(package
(name "rust-typenum")
- 26/53: gnu: Add rust-rawpointer., (continued)
- 26/53: gnu: Add rust-rawpointer., guix-commits, 2019/08/28
- 28/53: gnu: Add rust-pkg-config., guix-commits, 2019/08/28
- 32/53: gnu: Add rust-schannel., guix-commits, 2019/08/28
- 31/53: gnu: Add rust-same-file., guix-commits, 2019/08/28
- 36/53: gnu: Add rust-stable-deref-trait., guix-commits, 2019/08/28
- 40/53: gnu: Add rust-termcolor., guix-commits, 2019/08/28
- 39/53: gnu: Add rust-streaming-stats., guix-commits, 2019/08/28
- 43/53: gnu: Add rust-tokio-mock-task., guix-commits, 2019/08/28
- 41/53: gnu: Add rust-thread-local., guix-commits, 2019/08/28
- 53/53: gnu: Add rust-walkdir., guix-commits, 2019/08/28
- 42/53: gnu: Add rust-threadpool.,
guix-commits <=
- 46/53: gnu: Add rust-try-from., guix-commits, 2019/08/28
- 45/53: gnu: Add rust-traitobject., guix-commits, 2019/08/28
- 48/53: gnu: Add rust-typeable., guix-commits, 2019/08/28
- 52/53: gnu: Add rust-void., guix-commits, 2019/08/28
- 33/53: gnu: Add rust-scoped-tls-0.1., guix-commits, 2019/08/28
- 35/53: gnu: Add rust-security-framework-sys., guix-commits, 2019/08/28
- 47/53: gnu: Add rust-try-lock., guix-commits, 2019/08/28
- 49/53: gnu: Add rust-ucd-trie., guix-commits, 2019/08/28
- 50/53: gnu: Add rust-untrusted., guix-commits, 2019/08/28
- 51/53: gnu: Add rust-version-check., guix-commits, 2019/08/28