gnu: Add rust-try-lock.

* gnu/packages/crates-io.scm (rust-try-lock): New variable.
This commit is contained in:
Efraim Flashner 2019-08-28 16:43:33 +03:00
parent efc244c53b
commit 5a77fcca3f
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1668,6 +1668,25 @@ (define-public rust-try-from
"TryFrom and TryInto traits for failable conversions that return a Result.")
(license license:expat)))
(define-public rust-try-lock
(package
(name "rust-try-lock")
(version "0.2.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "try-lock" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"10p36rx6pqi9d0zr876xa8vksx2m66ha45myakl50rn08dxyn176"))))
(build-system cargo-build-system)
(home-page "https://github.com/seanmonstar/try-lock")
(synopsis "Lightweight atomic lock")
(description
"This package provides a lightweight atomic lock.")
(license license:expat)))
(define-public rust-typenum
(package
(name "rust-typenum")