guix-patches
[Top][All Lists]
Advanced

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

[bug#52149] [PATCH 22/26] gnu: Add rust-loom-0.5.


From: (unmatched-parenthesis
Subject: [bug#52149] [PATCH 22/26] gnu: Add rust-loom-0.5.
Date: Mon, 27 Dec 2021 16:50:59 +0000

gnu/packages/crates-io.scm (rust-loom-0.5): New variable.
gnu/packages/crates-io.scm (rust-loom-0.4): Inherit from rust-loom-0.5.
---
 gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++------
 1 file changed, 34 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a37d869283..66300c32d8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28127,17 +28127,17 @@ (define-public rust-logtest-2
     (description "This package tests and asserts log statements.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-loom-0.4
+(define-public rust-loom-0.5
   (package
     (name "rust-loom")
-    (version "0.4.0")
+    (version "0.5.4")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "loom" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1941ji91nvriqqkgzlx285kq38zg74sw68gb2x4pnjbfcfs76k6l"))))
+        (base32 "02a30cv9l2afjq5bg42hgcjspx8fgwyij0cf9saw8b73539wgigd"))))
     (build-system cargo-build-system)
     (arguments
      ;; FIXME: build phase fails with the error: "the
@@ -28145,11 +28145,15 @@ (define-public rust-loom-0.4
      `(#:skip-build? #true
        #:cargo-inputs
        (("rust-cfg-if" ,rust-cfg-if-1)
-        ("rust-futures-util" ,rust-futures-util-0.3)
-        ("rust-generator" ,rust-generator-0.6)
+        ("rust-generator" ,rust-generator-0.7)
+        ("rust-pin-utils" ,rust-pin-utils-0.1)
         ("rust-scoped-tls" ,rust-scoped-tls-1)
         ("rust-serde" ,rust-serde-1)
-        ("rust-serde-json" ,rust-serde-json-1))))
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-tracing" ,rust-tracing-0.1)
+        ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))
+       #:cargo-development-inputs
+       (("rust-futures-util" ,rust-futures-util-0.3))))
     (home-page "https://github.com/tokio-rs/loom";)
     (synopsis "Permutation testing for concurrent code")
     (description
@@ -28159,6 +28163,30 @@ (define-public rust-loom-0.4
 explosion.")
     (license license:expat)))
 
+(define-public rust-loom-0.4
+  (package
+    (inherit rust-loom-0.5)
+    (name "rust-loom")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "loom" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1941ji91nvriqqkgzlx285kq38zg74sw68gb2x4pnjbfcfs76k6l"))))
+    (arguments
+     ;; FIXME: build phase fails with the error: "the
+     ;; `#[track_caller]` attribute is an experimental feature".
+     `(#:skip-build? #true
+       #:cargo-inputs
+       (("rust-cfg-if" ,rust-cfg-if-1)
+        ("rust-futures-util" ,rust-futures-util-0.3)
+        ("rust-generator" ,rust-generator-0.6)
+        ("rust-scoped-tls" ,rust-scoped-tls-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1))))))
+
 (define-public rust-loom-0.3
   (package
     (inherit rust-loom-0.4)
-- 
2.34.0






reply via email to

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