[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 02/86] gnu: Add rust-spin.
From: |
ng0 |
Subject: |
[PATCH 02/86] gnu: Add rust-spin. |
Date: |
Tue, 3 Jan 2017 23:35:18 +0000 |
* gnu/packages/rust.scm (rust-spin): 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 2137ba601..b0ac22a78 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -286,3 +286,25 @@ safety and thread safety guarantees.")
"Libc provides a library for types and bindings to native
C functions often found in libc or other common platform libraries.")
(license (list license:expat license:asl2.0))))
+
+(define-public rust-spin
+ (package
+ (name "rust-spin")
+ (version "0.4.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "spin" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0lvyyxg646wl67b41655p2z25s725sw1rsfvpnm8d7vq5dpa45hx"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/mvdnes/spin-rs.git")
+ (synopsis "Spin is a library which implements a simple spinlock")
+ (description
+ "Synchronization primitives based on spinning. They may contain
+data, they are usable without `std` and static initializers are
+available.")
+ (license license:expat)))
--
2.11.0
- 77 Rust Crates, fluid, roboto-font, libpsyc rust bindings, ng0, 2017/01/03
- [PATCH 03/86] gnu: Add rust-lazy-static., ng0, 2017/01/03
- [PATCH 01/86] gnu: Add rust-libc., ng0, 2017/01/03
- [PATCH 02/86] gnu: Add rust-spin.,
ng0 <=
- [PATCH 04/86] gnu: Add dotherside., ng0, 2017/01/03
- [PATCH 05/86] gnu: Add rust-qml., ng0, 2017/01/03
- [PATCH 08/86] gnu: Add rust-rand., ng0, 2017/01/03
- [PATCH 12/86] gnu: Add rust-winapi-build., ng0, 2017/01/03
- [PATCH 10/86] gnu: Add rust-void., ng0, 2017/01/03
- [PATCH 11/86] gnu: Add rust-slab., ng0, 2017/01/03
- [PATCH 13/86] gnu: Add rust-tempdir., ng0, 2017/01/03