gnu: Add rust-thread-local.

* gnu/packages/crates-io.scm (rust-thread-local): New variable.
This commit is contained in:
Efraim Flashner 2019-08-28 16:36:16 +03:00
parent 0583bd6353
commit d154192fa9
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 22 additions and 0 deletions

View File

@ -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.")
(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
(package
(name "rust-typenum")