diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-08-28 16:43:33 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-08-28 16:53:09 +0300 |
commit | 5a77fcca3fc9c1aab1315797b8e056195308d07a (patch) | |
tree | 94415cc089377a6f35e8fe236dd9155f3284b566 /gnu | |
parent | efc244c53b29cec558562a3b6f26dc356771018c (diff) | |
download | guix-5a77fcca3fc9c1aab1315797b8e056195308d07a.tar.gz |
gnu: Add rust-try-lock.
* gnu/packages/crates-io.scm (rust-try-lock): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5b17399322..952c8543b1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1668,6 +1668,25 @@ fixed set of worker threads.") "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") |