aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-04 14:04:34 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-12 11:57:30 +0300
commita60f26b24d3ca400488d45faca0444e0db450f32 (patch)
treea2f44d572d91b230ebdd8d9106a6306423520fd2
parentb158738a0480ebd82b9e9e90b5285340bbd4c302 (diff)
downloadguix-a60f26b24d3ca400488d45faca0444e0db450f32.tar
guix-a60f26b24d3ca400488d45faca0444e0db450f32.tar.gz
gnu: Add rust-spin.
* gnu/packages/crates-io.scm (rust-spin): New variable.
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a6019e5b96..1a9df7f50a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -680,6 +680,26 @@ words, like Python's shlex.")
data type.")
(license license:expat)))
+(define-public rust-spin
+ (package
+ (name "rust-spin")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "spin" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0m9clchsj0rf13bggsgvbv9haiy0f6rhvnvkpvkk8720a5pkydj4"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/mvdnes/spin-rs.git")
+ (synopsis "Synchronization primitives based on spinning")
+ (description "This crate provides synchronization primitives based on
+spinning. They may contain data, are usable without @code{std},and static
+initializers are available.")
+ (license license:expat)))
+
(define-public rust-unicode-xid
(package
(name "rust-unicode-xid")