@@ -1,21 +1,21 @@
1−{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices, installShellFiles, libiconv }:
1+{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices, Foundation, installShellFiles, libiconv }:
22
33rustPlatform.buildRustPackage rec {
44 pname = "watchexec";
5− version = "1.15.1";
5+ version = "1.17.1";
66
77 src = fetchFromGitHub {
88 owner = pname;
99 repo = pname;
10− rev = version;
11− sha256 = "1xznhfljvsvc0ykv5h1wg31n93v96lvhbxfhavxivq3b0xh5vxrw";
10+ rev = "cli-v${version}";
11+ sha256 = "13yqghdhakkwp607j84a1vbqgnqqn77a5mh27cr24352ik2vkrkq";
1212 };
1313
14− cargoSha256 = "00dampnsnpzmchjcn0j5zslx17i0qgrv99gq772n0683m1l2lfq3";
14+ cargoSha256 = "0grzfzxw705zs5qb2h7k0yws45m20ihhh4mnpmk3wargbxpn6gsh";
1515
1616 nativeBuildInputs = [ installShellFiles ];
1717
18− buildInputs = lib.optionals stdenv.isDarwin [ CoreServices libiconv ];
18+ buildInputs = lib.optionals stdenv.isDarwin [ CoreServices Foundation libiconv ];
1919
2020 postInstall = ''
2121 installManPage doc/watchexec.1
@@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
2424
2525 meta = with lib; {
2626 description = "Executes commands in response to file modifications";
27− homepage = "https://github.com/watchexec/watchexec";
27+ homepage = "https://watchexec.github.io/";
2828 license = with licenses; [ asl20 ];
2929 maintainers = [ maintainers.michalrus ];
3030 };