guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 15/86] gnu: Add rust-scoped-tls.


From: ng0
Subject: [PATCH 15/86] gnu: Add rust-scoped-tls.
Date: Tue, 3 Jan 2017 23:35:31 +0000

* gnu/packages/rust.scm (rust-scoped-tls): New variable.
---
 gnu/packages/rust.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 404184c7b..f2c4e254e 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -564,3 +564,25 @@ deleting all contents when it's dropped.")
     (description
      "Support for matching file paths against Unix shell style patterns.")
     (license (list license:expat license:asl2.0))))
+
+(define-public rust-scoped-tls
+  (package
+    (name "rust-scoped-tls")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "scoped-tls" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0z8lgy007ffc9rdl6rhl7jxx6imxx641fmm7i044bsb3y0nw45zl"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/alexcrichton/scoped-tls";)
+    (synopsis "Library implementation of the `scoped_thread_local!` macro")
+    (description
+     "Library implementation of the standard library's old
address@hidden macro for providing scoped access to thread
+local storage (TLS) so any type can be stored into TLS.")
+    (license (list license:expat license:asl2.0))))
-- 
2.11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]