gnu: Add rust-atomic-polyfill-1.

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

View file

@ -5176,6 +5176,27 @@ (define-public rust-atom-0.3
(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")