diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2022-08-26 12:06:19 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2022-09-05 00:12:44 +0200 |
commit | f243233e8db34e3722ce152d1c2943c8c530010c (patch) | |
tree | ac634fb1be2412e8e4f84b75620585bce3e99287 /gnu | |
parent | cbcf87c01f1374abc8119c2ba0aed127f1c7e42d (diff) |
gnu: Add rust-atomic-polyfill-1.
* gnu/packages/crates-io.scm (rust-atomic-polyfill-1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0319aa05d3..ccc198121c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5176,6 +5176,27 @@ methods.") (description "This package provides a safe abstraction around AtomicPtr.") (license license:asl2.0))) +(define-public rust-atomic-polyfill-1 + (package + (name "rust-atomic-polyfill") + (version "1.0.1") + (source (origin + (method url-fetch) + (uri (crate-uri "atomic-polyfill" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ckvmx98ffyxax1irb61p0aln4v65xxnz4d2qgavhvcd513zb6fj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-critical-section" ,rust-critical-section-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-polyfill-0.1 (package (name "rust-atomic-polyfill") |