guix-commits
[Top][All Lists]
Advanced

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

130/299: gnu: Add parking-lot-0.8.


From: guix-commits
Subject: 130/299: gnu: Add parking-lot-0.8.
Date: Thu, 2 Jan 2020 13:19:27 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit c3343640b15a22a5276dad4ba03077f0b965c94c
Author: John Soo <address@hidden>
Date:   Sat Dec 14 19:37:11 2019 -0800

    gnu: Add parking-lot-0.8.
    
    * gnu/packages/crates-io.scm (parking-lot-0.8): 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 142f396..d6cf021 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4340,6 +4340,37 @@ normally prevent moving a type that has been borrowed 
from.")
     (properties '((hidden? . #t)))
     (license license:expat)))
 
+(define-public rust-parking-lot-0.8
+  (package
+    (name "rust-parking-lot")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "parking_lot" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1rrcdalr8l5zx3bw28l376321l6dnd6rqnsqsl0ygk01fy0nfxzs"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-lock-api" ,rust-lock-api-0.2)
+        ("rust-parking-lot-core" ,rust-parking-lot-core-0.5))
+       #:cargo-development-inputs
+       (("rust-bincode" ,rust-bincode-1.1)
+        ("rust-lazy-static" ,rust-lazy-static-1.3)
+        ("rust-rand" ,rust-rand-0.4)
+        ("rust-rustc-version" ,rust-rustc-version-0.2))))
+    (home-page "https://github.com/Amanieu/parking_lot";)
+    (synopsis "Compact standard synchronization primitives")
+    (description
+     "More compact and efficient implementations of the standard
+synchronization primitives.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-parking-lot-core-0.5
   (package
     (name "rust-parking-lot-core")



reply via email to

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