gnu: Add rust-critical-section-1.

* gnu/packages/crates-io.scm (rust-critical-section-1): New variable.
This commit is contained in:
Ricardo Wurmus 2022-08-26 12:02:55 +02:00
parent b248d77f87
commit cbcf87c01f
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -14290,6 +14290,23 @@ (define-public rust-criterion-plot-0.3
("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")