gnu: Add rust-simple-mutex-1.

* gnu/packages/crates-io.scm (rust-simple-mutex-1): New variable.
This commit is contained in:
Nicolas Goaziou 2020-12-24 12:09:02 +01:00
parent 848cfe93d1
commit ddd9471c23
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -31750,6 +31750,32 @@ (define-public rust-simd-helpers-0.1
"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")