guix-commits
[Top][All Lists]
Advanced

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

28/30: gnu: Add rust-parking-lot-core-0.9.


From: guix-commits
Subject: 28/30: gnu: Add rust-parking-lot-core-0.9.
Date: Sat, 27 Aug 2022 09:18:01 -0400 (EDT)

rekado pushed a commit to branch rekados-rust-queue
in repository guix.

commit 1a4bd186f29a1cd4c0668809d58a00c6de997453
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Aug 26 11:55:05 2022 +0200

    gnu: Add rust-parking-lot-core-0.9.
    
    * gnu/packages/crates-io.scm (rust-parking-lot-core-0.9): New variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eb20e694e4..4243902626 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41481,6 +41481,34 @@ synchronization primitives.")
         ("rust-rand" ,rust-rand-0.4)
         ("rust-rustc-version" ,rust-rustc-version-0.2))))))
 
+(define-public rust-parking-lot-core-0.9
+  (package
+    (name "rust-parking-lot-core")
+    (version "0.9.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "parking_lot_core" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0ab95rljb99rm51wcic16jgbajcr6lgbqkrr21w7bc2wyb5pk8h9"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-backtrace" ,rust-backtrace-0.3)
+        ("rust-cfg-if" ,rust-cfg-if-1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-petgraph" ,rust-petgraph-0.6)
+        ("rust-redox-syscall" ,rust-redox-syscall-0.2)
+        ("rust-smallvec" ,rust-smallvec-1)
+        ("rust-thread-id" ,rust-thread-id-4))))
+    (home-page "https://github.com/Amanieu/parking_lot";)
+    (synopsis "API for creating custom synchronization primitives")
+    (description "This package provides an advanced API for creating custom
+synchronization primitives.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-parking-lot-core-0.8
   (package
     (name "rust-parking-lot-core")



reply via email to

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