mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add rust-threadpool.
* gnu/packages/crates-io.scm (rust-threadpool): New variable.
This commit is contained in:
parent
d154192fa9
commit
de72b804f1
1 changed files with 24 additions and 0 deletions
|
@ -1560,6 +1560,30 @@ (define-public rust-thread-local
|
|||
(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")
|
||||
|
|
Loading…
Reference in a new issue