diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-27 18:53:20 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-27 19:53:07 +0100 |
commit | a1222d844c53e41c084518eb71ad7d10e377f841 (patch) | |
tree | 7762566b90f782eaec3f6fe0af89ee1fccdb40b0 /gnu/packages/crates-io.scm | |
parent | 240850338cd9360d011c37377252ec367d95a913 (diff) | |
download | guix-patches-a1222d844c53e41c084518eb71ad7d10e377f841.tar guix-patches-a1222d844c53e41c084518eb71ad7d10e377f841.tar.gz |
gnu: Add rust-critical-section-0.2.
* gnu/packages/crates-io.scm (rust-critical-section-0.2): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2c359c7e89..d71219b2ab 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11984,6 +11984,30 @@ criterion.") ("rust-num-complex" ,rust-num-complex-0.2) ("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 (package (name "rust-crossbeam") |