diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-08-28 16:36:16 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-08-28 16:53:08 +0300 |
commit | d154192fa99ebb10ee25ef9f53df8960a49d5c8c (patch) | |
tree | 5fcc60e940903e039e077b11846bd19c1aa22fa1 /gnu | |
parent | 0583bd635398bfed6d8066ebaff926f792359bb5 (diff) | |
download | guix-d154192fa99ebb10ee25ef9f53df8960a49d5c8c.tar.gz |
gnu: Add rust-thread-local.
* gnu/packages/crates-io.scm (rust-thread-local): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c389fc80c9..1c53d80c0b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -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") |