Unverified Commit 84a34d30 authored by figsoda's avatar figsoda Committed by GitHub
Browse files

Merge pull request #221367 from Kranzes/watchexec

watchexec: 1.20.6 -> 1.21.1
parents 4db94513 32b0b677
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