From a417f81d23ed7397b30816d94d1a54cf140cbf03 Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Date: Mon, 18 Jul 2022 00:57:02 +0200
Subject: [PATCH 15/24] gnu: rust-atomic-0.5: New package.
* gnu/packages/crates-io.scm (rust-atomic-0.5): New variable.
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
@@ -5092,6 +5092,26 @@ (define-public rust-atom-0.3
(description "This package provides a safe abstraction around AtomicPtr.")
(license license:asl2.0)))
+(define-public rust-atomic-0.5
+ (package
+ (name "rust-atomic")
+ (version "0.5.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "atomic" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0k135q1qfmxxyzrlhr47r0j38r5fnd4163rgl552qxyagrk853dq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-autocfg" ,rust-autocfg-1))))
+ (home-page "https://github.com/Amanieu/atomic-rs")
+ (synopsis "Generic Atomic<T> wrapper type")
+ (description "Generic @code{Atomic<T>} wrapper type")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-atomic-polyfill-0.1
(package
(name "rust-atomic-polyfill")
--
2.36.1