summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-14 19:34:33 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:33 +0200
commit0511c4cccd323f5dd72af692ea178223277a5ab2 (patch)
tree060be4bf89d5fdd7163290ed87ba37076a04be42
parent87d7db0b33c85ee75bcc0768760388714470d490 (diff)
gnu: Add parking-lot-core-0.5.
* gnu/packages/crates-io.scm (parking-lot-core-0.5): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3e9833dd6c..142f3967b6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4340,6 +4340,42 @@ normally prevent moving a type that has been borrowed from.")
(properties '((hidden? . #t)))
(license license:expat)))
+(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)
+ ("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 (list license:asl2.0 license:expat))))
+
(define-public rust-parity-wasm-0.40
(package
(name "rust-parity-wasm")