guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

30/31: gnu: Add rust-atomic-polyfill-1.


From: guix-commits
Subject: 30/31: gnu: Add rust-atomic-polyfill-1.
Date: Sat, 27 Aug 2022 13:01:46 -0400 (EDT)

rekado pushed a commit to branch rekados-rust-queue
in repository guix.

commit b85e48ebadd36a17d6aa76d2ed5034b724a47c8d
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Aug 26 12:06:19 2022 +0200

    gnu: Add rust-atomic-polyfill-1.
    
    * gnu/packages/crates-io.scm (rust-atomic-polyfill-1): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bedb991d54..74e1a8e915 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5175,6 +5175,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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]