mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-14 19:05:10 -05:00
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:
parent
0511c4cccd
commit
c3343640b1
1 changed files with 31 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue