guix-commits
[Top][All Lists]
Advanced

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

52/61: gnu: rust-watchexec-1: Update to 1.17.2.


From: guix-commits
Subject: 52/61: gnu: rust-watchexec-1: Update to 1.17.2.
Date: Thu, 28 Mar 2024 12:01:11 -0400 (EDT)

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

commit 77c6cdad98fe1bbda253d6c0bd138da990a9d028
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 28 11:13:22 2024 +0200

    gnu: rust-watchexec-1: Update to 1.17.2.
    
    * gnu/packages/crates-io.scm (rust-watchexec-1): Update to 1.17.2.
    [source]: Add snippet to allow for newer versions of dependencies.
    [arguments]: Don't skip the build.  Add cargo-test-flags.
    [cargo-inputs]: Add rust-command-group-1.  Replace rust-nix-0.20 with
    0.22.
    
    Change-Id: Id9aaca24fda5293f01d189c7445e4327a0960aed
---
 gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++++----
 1 file changed, 32 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9c9aed8d50..62e8013460 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -85633,23 +85633,51 @@ modifications.")
   (package
     (inherit rust-watchexec-2)
     (name "rust-watchexec")
-    (version "1.16.0")
+    (version "1.17.2")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "watchexec" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1v52fi5fvjr7h5npyjkwnfc7801qrl4ayzgq4k03ylxr4lkbvhsb"))))
+        (base32 "0r8j6qvkbr5k5ipyzw0v1lsglhf7l99n9m529mck2ki7ymzqv4iq"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin (substitute* "Cargo.toml"
+                  (("\"= *([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
+                   (string-append "\"^" version)))))))
     (arguments
-     `(#:skip-build? #t
+     `(#:cargo-test-flags
+       '("--release" "--"
+         ;; Not all files included.
+         "--skip=gitignore::tests::handles_negative_patterns"
+         "--skip=gitignore::tests::leading_double_wildcard"
+         "--skip=gitignore::tests::leading_slash"
+         "--skip=gitignore::tests::matches_exact"
+         "--skip=gitignore::tests::matches_simple_wildcard"
+         "--skip=gitignore::tests::matches_subdir_exact"
+         "--skip=gitignore::tests::sandwiched_double_wildcard"
+         "--skip=gitignore::tests::wildcard_with_dir"
+         "--skip=ignore::tests::handles_whitelisting"
+         "--skip=ignore::tests::leading_double_wildcard"
+         "--skip=ignore::tests::leading_slash"
+         "--skip=ignore::tests::matches_exact"
+         "--skip=ignore::tests::matches_simple_wildcard"
+         "--skip=ignore::tests::matches_subdir_exact"
+         "--skip=ignore::tests::sandwiched_double_wildcard"
+         "--skip=ignore::tests::wildcard_with_dir"
+         "--skip=notification_filter::tests::test_filename"
+         "--skip=notification_filter::tests::test_ignores_take_precedence"
+         "--skip=notification_filter::tests::test_multiple_ignores"
+         "--skip=notification_filter::tests::test_recursive_directory_ignore")
        #:cargo-inputs (("rust-clearscreen" ,rust-clearscreen-1)
+                       ("rust-command-group" ,rust-command-group-1)
                        ("rust-derive-builder" ,rust-derive-builder-0.10)
                        ("rust-glob" ,rust-glob-0.3)
                        ("rust-globset" ,rust-globset-0.4)
                        ("rust-lazy-static" ,rust-lazy-static-1)
                        ("rust-log" ,rust-log-0.4)
-                       ("rust-nix" ,rust-nix-0.20)
+                       ("rust-nix" ,rust-nix-0.22)
                        ("rust-notify" ,rust-notify-4)
                        ("rust-walkdir" ,rust-walkdir-2)
                        ("rust-winapi" ,rust-winapi-0.3))))))



reply via email to

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