Unverified Commit 32b0b677 authored by Ilan Joselevich's avatar Ilan Joselevich
Browse files

watchexec: 1.20.6 -> 1.21.1

parent d29e5829
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -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