From b248d77f877518a3b1b5e5f06d809eede6c8c914 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 26 Aug 2022 11:55:05 +0200 Subject: gnu: Add rust-parking-lot-core-0.9. * gnu/packages/crates-io.scm (rust-parking-lot-core-0.9): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b6b52fcd09..4c4a29adcb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -41487,6 +41487,34 @@ synchronization primitives.") ("rust-rand" ,rust-rand-0.4) ("rust-rustc-version" ,rust-rustc-version-0.2)))))) +(define-public rust-parking-lot-core-0.9 + (package + (name "rust-parking-lot-core") + (version "0.9.3") + (source (origin + (method url-fetch) + (uri (crate-uri "parking_lot_core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ab95rljb99rm51wcic16jgbajcr6lgbqkrr21w7bc2wyb5pk8h9")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-backtrace" ,rust-backtrace-0.3) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-petgraph" ,rust-petgraph-0.6) + ("rust-redox-syscall" ,rust-redox-syscall-0.2) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thread-id" ,rust-thread-id-4)))) + (home-page "https://github.com/Amanieu/parking_lot") + (synopsis "API for creating custom synchronization primitives") + (description "This package provides an advanced API for creating custom +synchronization primitives.") + (license (list license:expat license:asl2.0)))) + (define-public rust-parking-lot-core-0.8 (package (name "rust-parking-lot-core") -- cgit v1.2.3