guix-commits
[Top][All Lists]
Advanced

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

248/299: gnu: Add rust-arc-swap-0.3.


From: guix-commits
Subject: 248/299: gnu: Add rust-arc-swap-0.3.
Date: Thu, 2 Jan 2020 13:19:57 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit da75b88316b50b205f0b47678c505db59823d39e
Author: John Soo <address@hidden>
Date:   Thu Dec 19 20:58:45 2019 -0800

    gnu: Add rust-arc-swap-0.3.
    
    * gnu/packages/crates-io.scm (rust-arc-swap-0.3): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 30dd764..5da0b4f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -218,6 +218,37 @@ text or blue underlined text, on ANSI terminals.")
      "Approximate floating point equality comparisons and assertions.")
     (license license:asl2.0)))
 
+(define-public rust-arc-swap-0.3
+  (package
+    (name "rust-arc-swap")
+    (version "0.3.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "arc-swap" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0ha8724dpki985v52ifq5sd98xvpa5q51hyma52di75dbqbn4imw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-development-inputs
+       (("rust-crossbeam" ,rust-crossbeam-0.7)
+        ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6)
+        ("rust-itertools" ,rust-itertools-0.8)
+        ("rust-lazy-static" ,rust-lazy-static-1.3)
+        ("rust-model" ,rust-model-0.1)
+        ("rust-num-cpus" ,rust-num-cpus-1.10)
+        ("rust-parking-lot" ,rust-parking-lot-0.8)
+        ("rust-proptest" ,rust-proptest-0.9)
+        ("rust-version-sync" ,rust-version-sync-0.8))))
+    (home-page "https://github.com/vorner/arc-swap";)
+    (synopsis "Atomically swappable Arc")
+    (description "This package provides an atomically swappable Arc.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-arrayvec-0.4
   (package
     (name "rust-arrayvec")



reply via email to

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