summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-09-16 23:28:18 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-10-12 11:41:46 +0530
commite12feea37cc95f17362c0d0065824c2f3d92e0f4 (patch)
tree62b04a96c30c08c4c48b5595f52fd0d02da6cc78 /gnu/packages
parent15eb3c6cd2ab50a932c666d7bca7d77f0f8073f3 (diff)
downloadguix-e12feea37cc95f17362c0d0065824c2f3d92e0f4.tar.gz
gnu: Add rust-atom-0.3.
* gnu/packages/crates-io.scm (rust-atom-0.3): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 68399300ea..02bbf89f3b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -919,6 +919,24 @@ standard library.")
         (sha256
          (base32
           "1s7yslcs6a28c5vz7jwj63lkfgyx8mx99fdirlhi9lbhhzhrpcyr"))))
+(define-public rust-atom-0.3
+  (package
+    (name "rust-atom")
+    (version "0.3.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "atom" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1qig9fcdqf07mzzpkicm5wgxv0zpr28njdsqf708wxq27yf6k1iw"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/slide-rs/atom")
+    (synopsis "A safe abstraction around AtomicPtr")
+    (description "This package provides a safe abstraction around AtomicPtr.")
+    (license license:asl2.0)))
+
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t