mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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.
This commit is contained in:
parent
0da9cb0a40
commit
665f51d3fa
1 changed files with 26 additions and 13 deletions
|
@ -12211,8 +12211,33 @@ by inspecting the system for user preference.")
|
||||||
("rust-regex" ,rust-regex-1)
|
("rust-regex" ,rust-regex-1)
|
||||||
("rust-winapi" ,rust-winapi-0.3))))))
|
("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
|
(define-public rust-lock-api-0.3
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-lock-api-0.4)
|
||||||
(name "rust-lock-api")
|
(name "rust-lock-api")
|
||||||
(version "0.3.4")
|
(version "0.3.4")
|
||||||
(source
|
(source
|
||||||
|
@ -12224,19 +12249,7 @@ by inspecting the system for user preference.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0xgc5dzmajh0akbh5d6d7rj9mh5rzpk74pyrc946v2ixgakj9nn4"))))
|
"0xgc5dzmajh0akbh5d6d7rj9mh5rzpk74pyrc946v2ixgakj9nn4"))))
|
||||||
(build-system cargo-build-system)
|
(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))))
|
|
||||||
|
|
||||||
(define-public rust-lock-api-0.2
|
(define-public rust-lock-api-0.2
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue