me
/
guix
Archived
1
0
Fork 0

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>
master
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
1 changed files with 30 additions and 5 deletions

View File

@ -5634,10 +5634,10 @@ normally prevent moving a type that has been borrowed from.")
(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 @@ normally prevent moving a type that has been borrowed from.")
(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 @@ normally prevent moving a type that has been borrowed from.")
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")