From 7480fdba6705e59b5a36d811967988434f8319e9 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 19:34:33 -0800 Subject: [PATCH 126/263] gnu: Add parking-lot-core-0.5. * gnu/packages/crates-io.scm (parking-lot-core-0.5): New variable. --- gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 94ea6eb101..86ca00d729 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6039,6 +6039,43 @@ Pwrite traits from the scroll crate.") "Semantic version parsing and comparison.") (license `(,license:expat ,license:asl2.0)))) +(define-public rust-parking-lot-core-0.5 + (package + (name "rust-parking-lot-core") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "parking_lot_core" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1317j5a1yd03baza2kqqrxb4kr1vxa7rckw4frksl2vrncfcp26b")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #: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.58) + ("rust-petgraph" ,rust-petgraph-0.4) + ("rust-rand" ,rust-rand-0.4) + ("rust-redox-syscall" ,rust-redox-syscall-0.1) + ("rust-smallvec" ,rust-smallvec-0.6) + ("rust-thread-id" ,rust-thread-id-3.3) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-rustc-version" ,rust-rustc-version-0.2)))) + (home-page + "https://github.com/Amanieu/parking_lot") + (synopsis + "Advanced API for creating custom synchronization primitives") + (description + "An advanced API for creating custom synchronization primitives.") + (license `(,license:asl2.0 ,license:expat)))) + (define-public rust-semver-parser-0.9 (package (name "rust-semver-parser") -- 2.24.1