diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-27 18:54:04 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-27 19:53:08 +0100 |
commit | 8760007e521852027beec7a8ecfc2c716be4f5d6 (patch) | |
tree | 87da11433f65517102d79abca50db2604b661082 /gnu | |
parent | a1222d844c53e41c084518eb71ad7d10e377f841 (diff) | |
download | guix-8760007e521852027beec7a8ecfc2c716be4f5d6.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") |