guix-commits
[Top][All Lists]
Advanced

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

50/61: gnu: Add rust-atomic-take-1.


From: guix-commits
Subject: 50/61: gnu: Add rust-atomic-take-1.
Date: Thu, 28 Mar 2024 12:01:10 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit f28edd0924c67ac448c1883bb38caa08e1c26134
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 28 11:07:35 2024 +0200

    gnu: Add rust-atomic-take-1.
    
    * gnu/packages/crates-io.scm (rust-atomic-take-1): New variable.
    
    Change-Id: I4b817b340841a016cf759bfb86a2eaedd1f2c37f
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4cc8280288..d9034e0d54 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5861,6 +5861,25 @@ they're not available.")
 they're not available.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-atomic-take-1
+  (package
+    (name "rust-atomic-take")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "atomic-take" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1hzvfqiy0ixsawkh7ci9visn95kx2j6yvnqxz536x5wpzranpax8"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs (("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/Darksonn/atomic-take";)
+    (synopsis "Atomically take a value out of a container once")
+    (description "Atomically take a value out of a container once.")
+    (license license:expat)))
+
 (define-public rust-atomic-write-file-0.1
   (package
     (name "rust-atomic-write-file")



reply via email to

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