guix-commits
[Top][All Lists]
Advanced

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

213/330: gnu: Add rust-libtest-mimic-0.7.


From: guix-commits
Subject: 213/330: gnu: Add rust-libtest-mimic-0.7.
Date: Mon, 18 Mar 2024 07:16:16 -0400 (EDT)

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

commit 13089e8c86e4d56f59a7ab7da237db950ea9adf8
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Sat Feb 24 21:40:07 2024 +0100

    gnu: Add rust-libtest-mimic-0.7.
    
    * gnu/packages/crates-io.scm (rust-libtest-mimic-0.7): New variable.
    (rust-libtest-mimic-0.6): Inherit from rust-libtest-mimic-0.7.
    
    Change-Id: I246fca85241119341e393f4621ffe6ec143e256d
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++--------
 1 file changed, 29 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 45ad2dbe0a..27a51cec65 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36541,8 +36541,36 @@ Linux userspace APIs.")
         ("rust-pkg-config" ,rust-pkg-config-0.3)
         ("rust-vcpkg" ,rust-vcpkg-0.2))))))
 
+(define-public rust-libtest-mimic-0.7
+  (package
+    (name "rust-libtest-mimic")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libtest-mimic" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "02y7l5bcwli37hl625bp6l0m95mry8cavwj3nkl55zgc8iplq3vz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-clap" ,rust-clap-4)
+                       ("rust-escape8259" ,rust-escape8259-0.5)
+                       ("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))))
+    (home-page "https://github.com/LukasKalbertodt/libtest-mimic";)
+    (synopsis "Tools for writing a test harness")
+    (description
+     "Write your own test harness that looks and behaves like the built-in test
+harness used by @code{rustc --test}.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-libtest-mimic-0.6
   (package
+    (inherit rust-libtest-mimic-0.7)
     (name "rust-libtest-mimic")
     (version "0.6.1")
     (source (origin
@@ -36552,7 +36580,6 @@ Linux userspace APIs.")
               (sha256
                (base32
                  "1rwwdrzc5hmfisc9c3zcvnab14rgh0zfa636c2jbhv4az5qf73bd"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-clap" ,rust-clap-4)
@@ -36560,13 +36587,7 @@ Linux userspace APIs.")
         ("rust-threadpool" ,rust-threadpool-1))
        #:cargo-development-inputs
        (("rust-fastrand" ,rust-fastrand-1)
-        ("rust-pretty-assertions" ,rust-pretty-assertions-1))))
-    (home-page "https://github.com/LukasKalbertodt/libtest-mimic";)
-    (synopsis "Tools for writing a test harness")
-    (description
-     "Write your own test harness that looks and behaves like the built-in test
-harness used by @code{rustc --test}.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-pretty-assertions" ,rust-pretty-assertions-1))))))
 
 (define-public rust-libtest-mimic-0.5
   (package



reply via email to

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