summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-08-26 12:02:55 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-09-05 00:12:44 +0200
commitcbcf87c01f1374abc8119c2ba0aed127f1c7e42d (patch)
tree676b39701c6e14d05d27f90506f5ad5946e87759 /gnu
parentb248d77f877518a3b1b5e5f06d809eede6c8c914 (diff)
gnu: Add rust-critical-section-1.
* gnu/packages/crates-io.scm (rust-critical-section-1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm17
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")