From f291ce184d46cb5f433a5acc6469c6158c03f461 Mon Sep 17 00:00:00 2001 From: Valentin Ignatev Date: Sun, 19 Jan 2020 22:19:28 +0300 Subject: [PATCH] gnu: Add rust-parking-lot-core-0.7. * gnu/packages/crates-io.scm (rust-parking-lot-core-0.7): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f839d6d350..7b93844e58 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9552,6 +9552,37 @@ (define-public rust-parking-lot-0.7 ("rust-rand" ,rust-rand-0.4) ("rust-rustc-version" ,rust-rustc-version-0.2)))))) +(define-public rust-parking-lot-core-0.7 + (package + (name "rust-parking-lot-core") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "parking_lot_core" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1wdbrvh35nn09ga570vl5062dpwfbrwgzyrlhhy78ifzhj2870km")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-backtrace" ,rust-backtrace-0.3) + ("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-cloudabi" ,rust-cloudabi-0.0) + ("rust-libc" ,rust-libc-0.2) + ("rust-petgraph" ,rust-petgraph-0.4) + ("rust-redox-syscall" ,rust-redox-syscall-0.1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thread-id" ,rust-thread-id-3.3) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/Amanieu/parking_lot") + (synopsis "API for creating custom synchronization primitives") + (description + "An advanced API for creating custom synchronization primitives in Rust.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-parking-lot-core-0.6 (package (name "rust-parking-lot-core")