aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-19 22:19:28 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-23 22:23:13 +0200
commitf291ce184d46cb5f433a5acc6469c6158c03f461 (patch)
treeea78663bbe44fe85c1016196252a378754a43f1b /gnu
parentd9d4d4f9fabc1514da86a96725f9c35ac3c1e17d (diff)
downloadpatches-f291ce184d46cb5f433a5acc6469c6158c03f461.tar
patches-f291ce184d46cb5f433a5acc6469c6158c03f461.tar.gz
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 <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
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 @@ synchronization primitives.")
("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")