summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-09-28 20:05:50 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-09-30 17:11:33 +0300
commit7298371ca2dc980571c23e291f806beb63a8e767 (patch)
tree19b1c45a7f4f900942b9275d9fd724d9910626bb /gnu
parent9ebdd45123f073c694a5a67fc15d6dd572be5a9a (diff)
downloadguix-7298371ca2dc980571c23e291f806beb63a8e767.tar.gz
gnu: Add rust-tester-0.9.
* gnu/packages/crates-io.scm (rust-tester-0.9): New variable.
(rust-tester-0.5): Inherit from rust-tester-0.9.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm36
1 files changed, 29 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5280e82b82..705a3093f3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64623,10 +64623,10 @@ one body with different resource input parameters.  A test is generated for
 each resource matching the specific resource location pattern.")
     (license license:asl2.0)))
 
-(define-public rust-tester-0.5
+(define-public rust-tester-0.9
   (package
     (name "rust-tester")
-    (version "0.5.0")
+    (version "0.9.0")
     (source
      (origin
        (method url-fetch)
@@ -64635,14 +64635,15 @@ each resource matching the specific resource location pattern.")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "1xkgapz2i4j977f6kh1zp6sa5llbhy5vbnr6kfj8czsrdjr2r0ay"))))
+         "1svnlmaynfvfqmy7zjvbh2xwzdxxz50cyxbjlliz45a6iw6x2f86"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-getopts" ,rust-getopts-0.2)
+     `(#:cargo-inputs
+       (("rust-cfg-if" ,rust-cfg-if-1)
+        ("rust-getopts" ,rust-getopts-0.2)
         ("rust-libc" ,rust-libc-0.2)
-        ("rust-term" ,rust-term-0.4))))
+        ("rust-num-cpus" ,rust-num-cpus-1)
+        ("rust-term" ,rust-term-0.7))))
     (home-page
      "https://github.com/messense/rustc-test")
     (synopsis
@@ -64652,6 +64653,27 @@ each resource matching the specific resource location pattern.")
 unstable language features.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-tester-0.5
+  (package
+    (inherit rust-tester-0.9)
+    (name "rust-tester")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tester" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1xkgapz2i4j977f6kh1zp6sa5llbhy5vbnr6kfj8czsrdjr2r0ay"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-getopts" ,rust-getopts-0.2)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-term" ,rust-term-0.4))))))
+
 (define-public rust-text-size-1
   (package
     (name "rust-text-size")