Subject: [PATCH v7 04/44] gnu: Add rust-nextest-filtering-0.12.

From: Jordan Moore <[email-masked]>
Date: Sat, 11 Jan 2025 10:10:54 -0500

* gnu/packages/crates-io.scm (rust-nextest-filtering-0.12): New variable.

Change-Id: Id02d58386962cff12928f5d89a4482503fe1151c
---
 gnu/packages/crates-check.scm | 63 +++++++++++++++++++++++++++++++++--
 1 file changed, 61 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-check.scm b/gnu/packages/crates-check.scm
index 3d02f5421b..ceb7b34876 100644
--- a/gnu/packages/crates-check.scm
+++ b/gnu/packages/crates-check.scm
@@ -9,7 +9,7 @@
 ;;; Copyright © 2023 Steve George <[email-masked]>
 ;;; Copyright © 2024 Maxim Cournoyer <[email-masked]>
 ;;; Copyright © 2024 Aaron Covrig <[email-masked]>
-;;; Copyright © 2024 Jordan Moore <[email-masked]>
+;;; Copyright © 2024, 2025 Jordan Moore <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -36,7 +36,11 @@ (define-module (gnu packages crates-check)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix utils)
-  #:use-module (gnu packages crates-io))
+  #:use-module (gnu packages crates-compression)
+  #:use-module (gnu packages crates-crypto)
+  #:use-module (gnu packages crates-io)
+  #:use-module (gnu packages crates-web)
+  #:use-module (gnu packages crates-windows))
 
 (define-public rust-criterion-0.5
   (package
@@ -534,6 +538,61 @@ (define-public rust-mockall-double-0.3
 select the mock struct at compile time.  Used with the Mockall crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-nextest-filtering-0.12
+  (package
+    (name "rust-nextest-filtering")
+    (version "0.12.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nextest-filtering" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1fz7w2qsmh98c246x16l9j5xypsj1nbc715wszajjkjiv7hbibvy"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags '("--release" "--"
+                            ;; artifacts not packaged
+                            "--skip=test_binary_query"
+                            "--skip=test_expr_binary"
+                            "--skip=test_expr_binary_id_glob"
+                            "--skip=test_expr_deps"
+                            "--skip=test_expr_kind"
+                            "--skip=test_expr_kind_partial"
+                            "--skip=test_expr_package_contains"
+                            "--skip=test_expr_package_equal"
+                            "--skip=test_expr_package_regex"
+                            "--skip=test_expr_platform"
+                            "--skip=test_expr_rdeps"
+                            "--skip=test_expr_test"
+                            "--skip=test_expr_test_difference::with_and_not"
+                            "--skip=test_expr_test_difference::with_minus"
+                            "--skip=test_expr_test_intersect::with_ampersand"
+                            "--skip=test_expr_test_intersect::with_and"
+                            "--skip=test_expr_test_not"
+                            "--skip=test_expr_test_union::with_or"
+                            "--skip=test_expr_test_union::with_pipe"
+                            "--skip=test_expr_test_union::with_plus"
+                            "--skip=test_expr_with_no_matching_packages")
+       #:cargo-inputs (("rust-globset" ,rust-globset-0.4)
+                       ("rust-guppy" ,rust-guppy-0.17)
+                       ("rust-miette" ,rust-miette-7)
+                       ("rust-nextest-metadata" ,rust-nextest-metadata-0.12)
+                       ("rust-nextest-workspace-hack" ,rust-nextest-workspace-hack-0.1)
+                       ("rust-proptest" ,rust-proptest-1)
+                       ("rust-recursion" ,rust-recursion-0.5)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-regex-syntax" ,rust-regex-syntax-0.8)
+                       ("rust-test-strategy" ,rust-test-strategy-0.4)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-winnow" ,rust-winnow-0.6)
+                       ("rust-xxhash-rust" ,rust-xxhash-rust-0.8))
+       #:cargo-development-inputs (("rust-test-case" ,rust-test-case-3))))
+    (home-page "https://github.com/nextest-rs/nextest")
+    (synopsis "Filtering DSL for cargo-nextest")
+    (description "This package provides Filtering DSL for cargo-nextest.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-quickcheck-1
   (package
     (name "rust-quickcheck")
-- 
2.46.0