gnu: Add rust-spin-0.9.
* gnu/packages/crates-io.scm (rust-spin-0.9): New variable. (rust-spin-0.5): Inherit from above.
This commit is contained in:
parent
82a86ce514
commit
1224fe7dad
1 changed files with 25 additions and 9 deletions
|
@ -51242,19 +51242,22 @@ track of where each new file and line starts.")
|
||||||
"An RSpec inspired minimal testing framework for Rust.")
|
"An RSpec inspired minimal testing framework for Rust.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-spin-0.5
|
(define-public rust-spin-0.9
|
||||||
(package
|
(package
|
||||||
(name "rust-spin")
|
(name "rust-spin")
|
||||||
(version "0.5.2")
|
(version "0.9.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "spin" version))
|
(uri (crate-uri "spin" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1rch0my17z66fam7hbynvrcs6jk63b08jv4s04mhdksv1jz584ji"))))
|
||||||
"0b84m6dbzrwf2kxylnw82d3dr8w06av7rfkr8s85fb5f43rwyqvf"))))
|
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-lock-api" ,rust-lock-api-0.4))))
|
||||||
(home-page "https://github.com/mvdnes/spin-rs")
|
(home-page "https://github.com/mvdnes/spin-rs")
|
||||||
(synopsis "Synchronization primitives based on spinning")
|
(synopsis "Synchronization primitives based on spinning")
|
||||||
(description "This crate provides synchronization primitives based on
|
(description "This crate provides synchronization primitives based on
|
||||||
|
@ -51262,6 +51265,19 @@ spinning. They may contain data, are usable without @code{std},and static
|
||||||
initializers are available.")
|
initializers are available.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-spin-0.5
|
||||||
|
(package
|
||||||
|
(inherit rust-spin-0.9)
|
||||||
|
(name "rust-spin")
|
||||||
|
(version "0.5.2")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "spin" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0b84m6dbzrwf2kxylnw82d3dr8w06av7rfkr8s85fb5f43rwyqvf"))))))
|
||||||
|
|
||||||
(define-public rust-spin-0.4
|
(define-public rust-spin-0.4
|
||||||
(package
|
(package
|
||||||
(inherit rust-spin-0.5)
|
(inherit rust-spin-0.5)
|
||||||
|
|
Reference in a new issue