guix-commits
[Top][All Lists]
Advanced

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

186/470: gnu: Add rust-libtest-mimic-0.6.


From: guix-commits
Subject: 186/470: gnu: Add rust-libtest-mimic-0.6.
Date: Thu, 16 Mar 2023 03:01:01 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 35c66636d56c91c8ba57c998aa826bf12a610759
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 11:05:46 2023 +0200

    gnu: Add rust-libtest-mimic-0.6.
    
    * gnu/packages/crates-io.scm (rust-libtest-mimic-0.6): New variable.
    (rust-libtest-mimic-0.5): Inherit from rust-libtest-mimic-0.6.
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++------
 1 file changed, 27 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ce4b401772..42641f91fa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31860,21 +31860,21 @@ Linux userspace APIs.")
     (license (list license:asl2.0
                    license:expat))))
 
-(define-public rust-libtest-mimic-0.5
+(define-public rust-libtest-mimic-0.6
   (package
     (name "rust-libtest-mimic")
-    (version "0.5.2")
+    (version "0.6.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "libtest-mimic" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
-               (base32
-                "1v103c90ibs35ffr9mww9h5la3b7xxvil32v6x0szxcqq9wr8lkr"))))
+               (base32 
"1yipifm9fgfg6my2jj3i5wrc6ri9wqix02fys0isplb7cx8h7dnp"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-clap" ,rust-clap-3)
+     `(#:tests? #f              ; terse_output test fails
+       #:cargo-inputs
+       (("rust-clap" ,rust-clap-4)
         ("rust-termcolor" ,rust-termcolor-1)
         ("rust-threadpool" ,rust-threadpool-1))
        #:cargo-development-inputs
@@ -31887,6 +31887,27 @@ Linux userspace APIs.")
 harness used by @code{rustc --test}.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-libtest-mimic-0.5
+  (package
+    (inherit rust-libtest-mimic-0.6)
+    (name "rust-libtest-mimic")
+    (version "0.5.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "libtest-mimic" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1v103c90ibs35ffr9mww9h5la3b7xxvil32v6x0szxcqq9wr8lkr"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-clap" ,rust-clap-3)
+        ("rust-termcolor" ,rust-termcolor-1)
+        ("rust-threadpool" ,rust-threadpool-1))
+       #:cargo-development-inputs
+       (("rust-fastrand" ,rust-fastrand-1)
+        ("rust-pretty-assertions" ,rust-pretty-assertions-1))))))
+
 (define-public rust-libtest-mimic-0.3
   (package
     (inherit rust-libtest-mimic-0.5)



reply via email to

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