guix-commits
[Top][All Lists]
Advanced

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

31/34: gnu: Add rust-simple-mutex-1.


From: guix-commits
Subject: 31/34: gnu: Add rust-simple-mutex-1.
Date: Wed, 6 Jan 2021 12:32:37 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit ddd9471c23d8c0d8f74eb95a21f97233a4262ab5
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Thu Dec 24 12:09:02 2020 +0100

    gnu: Add rust-simple-mutex-1.
    
    * gnu/packages/crates-io.scm (rust-simple-mutex-1): New variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 08e10a2..d5512ea 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31750,6 +31750,32 @@ CPUs, as well as raw interfaces to platform-specific 
instructions.
      "This package provides helpers to write more compact simd code.")
     (license license:expat)))
 
+(define-public rust-simple-mutex-1
+  (package
+    (name "rust-simple-mutex")
+    (version "1.1.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "simple-mutex" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1mnwlgjajqmxjfgsdcr9imf23yg1zblny95zrvcflvbgzbmbpaiq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-event-listener" ,rust-event-listener-2))
+       #:cargo-development-inputs
+       (("rust-parking-lot" ,rust-parking-lot-0.10))))
+    (home-page "https://github.com/stjepang/simple-mutex";)
+    (synopsis
+     "Mutex more efficient than @code{std} and simpler than
+@code{parking_lot}")
+    (description
+     "This package provides a mutex more efficient than @code{std} and
+simpler than @code{parking_lot}.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-siphasher-0.3
   (package
     (name "rust-siphasher")



reply via email to

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