summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-24 12:09:02 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-06 18:29:43 +0100
commitddd9471c23d8c0d8f74eb95a21f97233a4262ab5 (patch)
treefea57963a61e263afd7fba66a7df5284ef2332f7 /gnu/packages
parent848cfe93d1578edf5ae5aa9fca0dbc71eb561bd3 (diff)
gnu: Add rust-simple-mutex-1.
* gnu/packages/crates-io.scm (rust-simple-mutex-1): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 08e10a2418..d5512ea731 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31750,6 +31750,32 @@ CPUs, as well as raw interfaces to platform-specific instructions.
"This package provides helpers to write more compact simd code.")
(license license:expat)))
+(define-public rust-simple-mutex-1
+ (package
+ (name "rust-simple-mutex")
+ (version "1.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "simple-mutex" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mnwlgjajqmxjfgsdcr9imf23yg1zblny95zrvcflvbgzbmbpaiq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-event-listener" ,rust-event-listener-2))
+ #:cargo-development-inputs
+ (("rust-parking-lot" ,rust-parking-lot-0.10))))
+ (home-page "https://github.com/stjepang/simple-mutex")
+ (synopsis
+ "Mutex more efficient than @code{std} and simpler than
+@code{parking_lot}")
+ (description
+ "This package provides a mutex more efficient than @code{std} and
+simpler than @code{parking_lot}.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-siphasher-0.3
(package
(name "rust-siphasher")