gnu: Add rust-thread-local.
* gnu/packages/crates-io.scm (rust-thread-local): New variable.
This commit is contained in:
parent
0583bd6353
commit
d154192fa9
|
@ -1538,6 +1538,28 @@ bindings are a small wrapper around the raw C functions, which converts integer
|
||||||
return values to @code{std::io::Result} to indicate success or failure.")
|
return values to @code{std::io::Result} to indicate success or failure.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-thread-local
|
||||||
|
(package
|
||||||
|
(name "rust-thread-local")
|
||||||
|
(version "0.3.6")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "thread_local" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-lazy-static" ,rust-lazy-static))))
|
||||||
|
(home-page "https://github.com/Amanieu/thread_local-rs")
|
||||||
|
(synopsis "Per-object thread-local storage")
|
||||||
|
(description "Per-object thread-local storage")
|
||||||
|
(license (list license:asl2.0
|
||||||
|
license:expat))))
|
||||||
|
|
||||||
(define-public rust-typenum
|
(define-public rust-typenum
|
||||||
(package
|
(package
|
||||||
(name "rust-typenum")
|
(name "rust-typenum")
|
||||||
|
|
Loading…
Reference in New Issue