guix-commits
[Top][All Lists]
Advanced

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

01/53: gnu: Add rust-antidote.


From: guix-commits
Subject: 01/53: gnu: Add rust-antidote.
Date: Wed, 28 Aug 2019 09:55:00 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit b44863d1be518ff8ef8a5ef6253a88899696bc09
Author: Efraim Flashner <address@hidden>
Date:   Wed Aug 28 14:43:03 2019 +0300

    gnu: Add rust-antidote.
    
    * gnu/packages/crates-io.scm (rust-antidote): 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 4596638..d017ee6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28,6 +28,27 @@
 ;;; Please: Try to add new module packages in alphabetic order.
 ;;;
 
+(define-public rust-antidote
+  (package
+    (name "rust-antidote")
+    (version "1.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "antidote" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "19g2sw2qa2ibnh4x7j1snk46593jgx6y7rnvva496ynq61af5z9l"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/sfackler/rust-antidote";)
+    (synopsis "Poison-free Mutex and RwLock types")
+    (description
+    "These types expose identical APIs to the standard library @code{Mutex} and
+@code{RwLock} except that they do not return @code{PoisonError}s.")
+    (license (list license:asl2.0
+                   license:expat))))
+
 (define-public rust-autocfg
   (package
     (name "rust-autocfg")



reply via email to

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