diff options
author | John Soo <jsoo1@asu.edu> | 2019-12-14 19:37:11 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-02 20:16:34 +0200 |
commit | c3343640b15a22a5276dad4ba03077f0b965c94c (patch) | |
tree | bf4826388489a5c9fc60ae5f26fc6ebf4ed0892e | |
parent | 0511c4cccd323f5dd72af692ea178223277a5ab2 (diff) |
gnu: Add parking-lot-0.8.
* gnu/packages/crates-io.scm (parking-lot-0.8): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 142f3967b6..d6cf021a41 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4340,6 +4340,37 @@ normally prevent moving a type that has been borrowed from.") (properties '((hidden? . #t))) (license license:expat))) +(define-public rust-parking-lot-0.8 + (package + (name "rust-parking-lot") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "parking_lot" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1rrcdalr8l5zx3bw28l376321l6dnd6rqnsqsl0ygk01fy0nfxzs")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-lock-api" ,rust-lock-api-0.2) + ("rust-parking-lot-core" ,rust-parking-lot-core-0.5)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1.1) + ("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-rand" ,rust-rand-0.4) + ("rust-rustc-version" ,rust-rustc-version-0.2)))) + (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-core-0.5 (package (name "rust-parking-lot-core") |