watchexec: 1.20.6 -> 1.21.1

This commit is contained in:
Ilan Joselevich 2023-03-15 21:45:13 +02:00
parent d29e58296a
commit 32b0b6774a
No known key found for this signature in database

View file

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "watchexec";
version = "1.20.6";
version = "1.21.1";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "cli-v${version}";
sha256 = "sha256-IF0VnFh3UeJ6pB/DvwlKXzivZqRYzOE4/39qHNcPVcc=";
rev = "v${version}";
sha256 = "sha256-RwzbPMSQqEdsJ+EEZBP8Tn8AueLmvDJcPFzdFg1/bro=";
};
cargoSha256 = "sha256-9XUZL34yHNIOq9Z9xP2+h8C4KUMkl8wAZbKnzppn300=";
cargoSha256 = "sha256-xugAMfg9S/gGtiry78xX6JaSHWlFofo2qZaBjh0fHec=";
nativeBuildInputs = [ installShellFiles ];
@ -21,6 +21,10 @@ rustPlatform.buildRustPackage rec {
checkFlags = [ "--skip=help" "--skip=help_short" ];
postPatch = ''
rm .cargo/config
'';
postInstall = ''
installManPage doc/watchexec.1
installShellCompletion --zsh --name _watchexec completions/zsh