[bug#75127,rust-team,v5,01/57] gnu: Add cargo-nextest.

Message ID 11c3adbb8153d09cb8e216c31acdabcc5ccb855a.1736051364.git.lockbox@struct.foo
State New
Headers
Series [bug#75127,rust-team,v5,01/57] gnu: Add cargo-nextest. |

Commit Message

Jordan Moore Jan. 5, 2025, 4:28 a.m. UTC
  * gnu/packages/rust-apps.scm (cargo-nextest): New variable.

Change-Id: If524cda770aba1e2e3bb082d47c0816cbdaa5aa3
---
 gnu/packages/rust-apps.scm | 49 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)


base-commit: bb6e1d6effd9788c5c80426b40189f2aeeb49d92
  

Patch

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 2182daa2f3..4b3a23c7e0 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -423,6 +423,55 @@  (define-public cargo-machete
     (description "@code{cargo-machete} finds unused dependencies in Cargo.toml.")
     (license (list license:expat license:asl2.0))))
 
+(define-public cargo-nextest
+  (package
+    (name "cargo-nextest")
+    (version "0.9.87")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cargo-nextest" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "02aq4wmrnwlm2amjqpwv0k58mw5kbwkxgj2z1d6qydxfrrm50k1d"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-camino" ,rust-camino-1)
+                       ("rust-camino" ,rust-camino-1)
+                       ("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-clap" ,rust-clap-4)
+                       ("rust-color-eyre" ,rust-color-eyre-0.6)
+                       ("rust-dialoguer" ,rust-dialoguer-0.11)
+                       ("rust-duct" ,rust-duct-0.13)
+                       ("rust-enable-ansi-support" ,rust-enable-ansi-support-0.2)
+                       ("rust-guppy" ,rust-guppy-0.17)
+                       ("rust-itertools" ,rust-itertools-0.13)
+                       ("rust-miette" ,rust-miette-7)
+                       ("rust-nextest-filtering" ,rust-nextest-filtering-0.12)
+                       ("rust-nextest-metadata" ,rust-nextest-metadata-0.12)
+                       ("rust-nextest-runner" ,rust-nextest-runner-0.70)
+                       ("rust-nextest-workspace-hack" ,rust-nextest-workspace-hack-0.1)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-owo-colors" ,rust-owo-colors-4)
+                       ("rust-pathdiff" ,rust-pathdiff-0.2)
+                       ("rust-quick-junit" ,rust-quick-junit-0.5)
+                       ("rust-semver" ,rust-semver-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-shell-words" ,rust-shell-words-1)
+                       ("rust-supports-color" ,rust-supports-color-3)
+                       ("rust-supports-unicode" ,rust-supports-unicode-3)
+                       ("rust-swrite" ,rust-swrite-0.1)
+                       ("rust-thiserror" ,rust-thiserror-2)
+                       ("rust-tracing" ,rust-tracing-0.1)
+                       ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))
+       #:cargo-development-inputs (("rust-camino-tempfile" ,rust-camino-tempfile-1))))
+    (inputs (list pkg-config zlib `(,zstd "lib")))
+    (home-page "https://github.com/nextest-rs/nextest")
+    (synopsis "next-generation test runner for Rust.")
+    (description
+     "This package provides a next-generation test runner for Rust.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public complgen
   (package
     (name "complgen")