diff options
author | Valentin Ignatev <valentignatev@gmail.com> | 2020-01-19 22:23:58 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-02-23 22:23:13 +0200 |
commit | 85f90a96f1655f0d318ebe33750aa57e2bc8dc16 (patch) | |
tree | e5465eb761ad93a2326e2a58e40133c41d04d243 | |
parent | c6c87f4b7910912614c51dd1981f9ff4404da744 (diff) | |
download | guix-85f90a96f1655f0d318ebe33750aa57e2bc8dc16.tar.gz |
gnu: Add rust-parking-lot-0.10.
* gnu/packages/crates-io.scm (rust-parking-lot-0.10): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 040da2f519..4776679492 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9471,6 +9471,35 @@ normally prevent moving a type that has been borrowed from.") "This package provides a library for padding strings at runtime.") (license license:expat))) +(define-public rust-parking-lot-0.10 + (package + (name "rust-parking-lot") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "parking_lot" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1z0wgf2sd1266y768kxxs3313zjfzj9r3k7j4arfaz0bmd4qrscj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-lock-api" ,rust-lock-api-0.3) + ("rust-parking-lot-core" ,rust-parking-lot-core-0.7)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1.1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rand" ,rust-rand-0.7)))) + (home-page "https://github.com/Amanieu/parking_lot") + (synopsis "Compact standard synchronization primitives") + (description + "More compact and efficient implementations of the standard +synchronization primitives.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-parking-lot-0.9 (package (name "rust-parking-lot") |