gnu: Add rust-parking-lot-0.9.

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

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

View file

@ -5634,10 +5634,10 @@ (define-public rust-packed-simd-0.3
(description "Portable Packed SIMD vectors.")
(license (list license:asl2.0 license:expat))))
(define-public rust-parking-lot-0.8
(define-public rust-parking-lot-0.9
(package
(name "rust-parking-lot")
(version "0.8.0")
(version "0.9.0")
(source
(origin
(method url-fetch)
@ -5646,13 +5646,13 @@ (define-public rust-parking-lot-0.8
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1rrcdalr8l5zx3bw28l376321l6dnd6rqnsqsl0ygk01fy0nfxzs"))))
"0lk2vq3hp88ygpgsrypdr3ss71fidnqbykva0csgxhmn5scb2hpq"))))
(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))
(("rust-lock-api" ,rust-lock-api-0.3)
("rust-parking-lot-core" ,rust-parking-lot-core-0.6))
#:cargo-development-inputs
(("rust-bincode" ,rust-bincode-1.1)
("rust-lazy-static" ,rust-lazy-static-1.3)
@ -5665,6 +5665,31 @@ (define-public rust-parking-lot-0.8
synchronization primitives.")
(license (list license:asl2.0 license:expat))))
(define-public rust-parking-lot-0.8
(package
(inherit rust-parking-lot-0.9)
(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"))))
(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))))))
(define-public rust-parking-lot-core-0.5
(package
(name "rust-parking-lot-core")