diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2022-08-26 12:02:55 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2022-09-05 00:12:44 +0200 |
commit | cbcf87c01f1374abc8119c2ba0aed127f1c7e42d (patch) | |
tree | 676b39701c6e14d05d27f90506f5ad5946e87759 /gnu/packages | |
parent | b248d77f877518a3b1b5e5f06d809eede6c8c914 (diff) |
gnu: Add rust-critical-section-1.
* gnu/packages/crates-io.scm (rust-critical-section-1): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4c4a29adcb..0319aa05d3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14290,6 +14290,23 @@ criterion.") ("rust-num-complex" ,rust-num-complex-0.2) ("rust-rand" ,rust-rand-0.4)))))) +(define-public rust-critical-section-1 + (package + (name "rust-critical-section") + (version "1.1.0") + (source (origin + (method url-fetch) + (uri (crate-uri "critical-section" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "06p0j7yy289six3k7j3m3f1phk9n7h9x2cd8fjfbw6fhh4aaaayh")))) + (build-system cargo-build-system) + (home-page "https://github.com/rust-embedded/critical-section") + (synopsis "Critical section abstraction") + (description "This package provides a critical section abstraction.") + (license (list license:expat license:asl2.0)))) + (define-public rust-critical-section-0.2 (package (name "rust-critical-section") |