diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-27 18:54:04 +0100 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-12-28 14:10:24 -0500 |
commit | 9231b43c3552bb38c5af34c7b2d35272b8b2935d (patch) | |
tree | 8adcc424bb8d34983fdd040e2afd2f747d3763fe /gnu | |
parent | 3d40fed931ca95470c1ad53f83370d01c3ff42ef (diff) | |
download | guix-9231b43c3552bb38c5af34c7b2d35272b8b2935d.tar.gz |
gnu: Add rust-atomic-polyfill-0.1.
* gnu/packages/crates-io.scm (rust-atomic-polyfill-0.1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d71219b2ab..0afe848156 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4199,6 +4199,29 @@ methods.") (description "This package provides a safe abstraction around AtomicPtr.") (license license:asl2.0))) +(define-public rust-atomic-polyfill-0.1 + (package + (name "rust-atomic-polyfill") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "atomic-polyfill" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hk08pdp6dgxqhy05l75518svrrrm7c1shfn51dk4claad4dg1p6")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-critical-section" ,rust-critical-section-0.2) + ("rust-riscv-target" ,rust-riscv-target-0.1)))) + (home-page "https://github.com/embassy-rs/atomic-polyfill") + (synopsis "Atomic polyfills, for targets where they're not available") + (description "This package provides atomic polyfills, for targets where +they're not available.") + (license (list license:expat license:asl2.0)))) + (define-public rust-atomic-waker-1 (package (name "rust-atomic-waker") |