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
This commit is contained in:
Efraim Flashner 2024-03-28 11:13:22 +02:00
parent f2cfc8a249
commit e786cc4409
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -85810,23 +85810,51 @@ (define-public rust-watchexec-1
(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))))))