me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-lock-api-0.4.

* gnu/packages/crates-io.scm (rust-lock-api-0.4): New variable.
(rust-lock-api-0.3): Inherit from rust-lock-api-0.4.
master
Arun Isaac 2020-09-16 20:12:37 +05:30
parent 0da9cb0a40
commit 665f51d3fa
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3
1 changed files with 26 additions and 13 deletions

View File

@ -12211,8 +12211,33 @@ by inspecting the system for user preference.")
("rust-regex" ,rust-regex-1)
("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-lock-api-0.4
(package
(name "rust-lock-api")
(version "0.4.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "lock_api" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0716z2rs0kydmd1818kqp4641dfkqzr0rpbnrpxhabxylp2pq918"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-owning-ref" ,rust-owning-ref-0.4)
("rust-scopeguard" ,rust-scopeguard-1)
("rust-serde" ,rust-serde-1))))
(home-page "https://github.com/Amanieu/parking_lot")
(synopsis "Wrappers to create fully-featured Mutex and RwLock types")
(description "This package provides wrappers to create fully-featured
@code{Mutex} and @code{RwLock} types. It is compatible with @code{no_std}.")
(license (list license:asl2.0 license:expat))))
(define-public rust-lock-api-0.3
(package
(inherit rust-lock-api-0.4)
(name "rust-lock-api")
(version "0.3.4")
(source
@ -12224,19 +12249,7 @@ by inspecting the system for user preference.")
(sha256
(base32
"0xgc5dzmajh0akbh5d6d7rj9mh5rzpk74pyrc946v2ixgakj9nn4"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-owning-ref" ,rust-owning-ref-0.4)
("rust-scopeguard" ,rust-scopeguard-1)
("rust-serde" ,rust-serde-1))))
(home-page "https://github.com/Amanieu/parking_lot")
(synopsis
"Wrappers to create fully-featured Mutex and RwLock types")
(description
"This package provides wrappers to create fully-featured @code{Mutex} and
@code{RwLock} types. It is compatible with @code{no_std}.")
(license (list license:expat license:asl2.0))))
(build-system cargo-build-system)))
(define-public rust-lock-api-0.2
(package