mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 15:26:47 +01:00
gnu: Add rust-critical-section-0.2.
* gnu/packages/crates-io.scm (rust-critical-section-0.2): New variable.
This commit is contained in:
parent
8404dcc489
commit
3d40fed931
1 changed files with 24 additions and 0 deletions
|
@ -11984,6 +11984,30 @@ (define-public rust-criterion-plot-0.3
|
||||||
("rust-num-complex" ,rust-num-complex-0.2)
|
("rust-num-complex" ,rust-num-complex-0.2)
|
||||||
("rust-rand" ,rust-rand-0.4))))))
|
("rust-rand" ,rust-rand-0.4))))))
|
||||||
|
|
||||||
|
(define-public rust-critical-section-0.2
|
||||||
|
(package
|
||||||
|
(name "rust-critical-section")
|
||||||
|
(version "0.2.5")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "critical-section" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0w1xl04q3qn3c67wnbiz6d5dsaqgdimyyxwpcydsvvgnlsjr3q81"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-bare-metal" ,rust-bare-metal-1)
|
||||||
|
("rust-cfg-if" ,rust-cfg-if-1)
|
||||||
|
("rust-cortex-m" ,rust-cortex-m-0.7)
|
||||||
|
("rust-riscv" ,rust-riscv-0.7))))
|
||||||
|
(home-page "https://github.com/embassy-rs/critical-section")
|
||||||
|
(synopsis "Critical section abstraction")
|
||||||
|
(description "This package provides a critical section abstraction.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-crossbeam-0.8
|
(define-public rust-crossbeam-0.8
|
||||||
(package
|
(package
|
||||||
(name "rust-crossbeam")
|
(name "rust-crossbeam")
|
||||||
|
|
Loading…
Reference in a new issue