diff options
author | Steve George <steve@futurile.net> | 2023-10-23 23:20:49 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-24 14:25:49 +0300 |
commit | 0e274a23b2ee717edb47a29ca4ba273ad1204ff9 (patch) | |
tree | 8f7c9bfaf57837bfa7e68620416f7a50a087cc85 | |
parent | b19590a603c7e7b3cd81b11bba9e5cbf2ded37df (diff) |
gnu: Add rust-parking-lot-0.4.
* gnu/packages/crates-io.scm (rust-parking-lot-0.4): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I63832c16c1ded45b7dc0fc9d06fef492377afd6d
-rw-r--r-- | gnu/packages/crates-io.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e19509aee4..1963d36ef0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -47922,6 +47922,26 @@ synchronization primitives.") ("rust-rand" ,rust-rand-0.4) ("rust-rustc-version" ,rust-rustc-version-0.2)))))) +(define-public rust-parking-lot-0.4 + (package + (inherit rust-parking-lot-0.9) + (name "rust-parking-lot") + (version "0.4.8") + (source (origin + (method url-fetch) + (uri (crate-uri "parking-lot" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ph0kv3dfcxpjbi83wkzammqb7lm95j8in7w7hz17hgkjxdqz78l")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-inputs + `(("rust-parking-lot-core" ,rust-parking-lot-core-0.2) + ("rust-owning-ref" ,rust-owning-ref-0.3)) + #:cargo-development-inputs + `(("rust-rand" ,rust-rand-0.3)))))) + (define-public rust-parking-lot-core-0.9 (package (name "rust-parking-lot-core") |