gnu: Add rust-lock-api-0.2.
* gnu/packages/crates-io.scm (rust-lock-api-0.2): New variable. (rust-lock-api-0.1): Inherit from rust-lock-api-0.2. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
2fac90978d
commit
e45eb8086e
1 changed files with 29 additions and 9 deletions
|
@ -2402,9 +2402,37 @@ functions and static variables these libraries contain.")
|
||||||
(license (list license:asl2.0
|
(license (list license:asl2.0
|
||||||
license:expat))))
|
license:expat))))
|
||||||
|
|
||||||
|
(define-public rust-lock-api-0.2
|
||||||
|
(package
|
||||||
|
(name "rust-lock-api")
|
||||||
|
(version "0.2.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "lock_api" version))
|
||||||
|
(file-name
|
||||||
|
(string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1zx7pksmgyggpczgw4qrr4vj2nkdk5lipgiysvr20slm552nv57d"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-owning-ref" ,rust-owning-ref-0.4)
|
||||||
|
("rust-scopeguard" ,rust-scopeguard-1.0)
|
||||||
|
("rust-serde" ,rust-serde-1.0))))
|
||||||
|
(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))))
|
||||||
|
|
||||||
(define-public rust-lock-api-0.1
|
(define-public rust-lock-api-0.1
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-lock-api-0.2)
|
||||||
(name "rust-lock-api")
|
(name "rust-lock-api")
|
||||||
(version "0.1.5")
|
(version "0.1.5")
|
||||||
(source
|
(source
|
||||||
|
@ -2415,15 +2443,7 @@ functions and static variables these libraries contain.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0b24q9mh258xa52ap636q1sxz0j5vrnp0hwbbh7ddjka3wwz3sv2"))))
|
"0b24q9mh258xa52ap636q1sxz0j5vrnp0hwbbh7ddjka3wwz3sv2"))))
|
||||||
(build-system cargo-build-system)
|
(properties '((hidden? . #t)))))
|
||||||
(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}.")
|
|
||||||
(properties '((hidden? . #t)))
|
|
||||||
(license (list license:asl2.0
|
|
||||||
license:expat))))
|
|
||||||
|
|
||||||
(define-public rust-log-0.4
|
(define-public rust-log-0.4
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue