gnu: Add parking-lot-0.8.

* gnu/packages/crates-io.scm (parking-lot-0.8): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
John Soo 2019-12-14 19:37:11 -08:00 committed by Efraim Flashner
parent 0511c4cccd
commit c3343640b1
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4340,6 +4340,37 @@ (define-public rust-owning-ref-0.4
(properties '((hidden? . #t)))
(license license:expat)))
(define-public rust-parking-lot-0.8
(package
(name "rust-parking-lot")
(version "0.8.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "parking_lot" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1rrcdalr8l5zx3bw28l376321l6dnd6rqnsqsl0ygk01fy0nfxzs"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-lock-api" ,rust-lock-api-0.2)
("rust-parking-lot-core" ,rust-parking-lot-core-0.5))
#:cargo-development-inputs
(("rust-bincode" ,rust-bincode-1.1)
("rust-lazy-static" ,rust-lazy-static-1.3)
("rust-rand" ,rust-rand-0.4)
("rust-rustc-version" ,rust-rustc-version-0.2))))
(home-page "https://github.com/Amanieu/parking_lot")
(synopsis "Compact standard synchronization primitives")
(description
"More compact and efficient implementations of the standard
synchronization primitives.")
(license (list license:asl2.0 license:expat))))
(define-public rust-parking-lot-core-0.5
(package
(name "rust-parking-lot-core")