summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-20 12:54:00 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-03 22:06:34 +0100
commited7959b7e4cfd0114270afeec3eb1622742ce4e2 (patch)
treee0e82f89b2e065cbbe06c8823e44bb6d18c54df2 /gnu
parentb5d659110cc209eab86c77fe752357aa68425d70 (diff)
downloadguix-ed7959b7e4cfd0114270afeec3eb1622742ce4e2.tar.gz
gnu: Add rust-parking-2.
* gnu/packages/crates-io.scm (rust-parking-2): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5fd5f202e8..09080b4d2e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20487,6 +20487,27 @@ deserialization, and interpreter in Rust.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-parking-2
+  (package
+    (name "rust-parking")
+    (version "2.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "parking" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0wnxxnizfxlax3n709s5r83f4n8awy3m4a18q4fdk0z7z693hz22"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-easy-parallel" ,rust-easy-parallel-3))))
+    (home-page "https://github.com/stjepang/parking")
+    (synopsis "Thread parking and unparking")
+    (description "This packages provides methods for thread parking and
+unparking.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-parking-lot-0.11
   (package
     (name "rust-parking-lot")