diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2019-11-19 04:20:00 -0500 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2019-11-19 09:23:32 -0800 |
commit | a5fca2095973192ef688237564e66158e3e7506a (patch) | |
tree | 9afbf803c95a43bd3cd6c4d46fbf05386aff65be /pkgs/tools/misc/watchexec | |
parent | 67d17bc447901ad2dea2dad4b3813c97702cfa86 (diff) | |
download | nixpkgs-a5fca2095973192ef688237564e66158e3e7506a.tar nixpkgs-a5fca2095973192ef688237564e66158e3e7506a.tar.gz nixpkgs-a5fca2095973192ef688237564e66158e3e7506a.tar.bz2 nixpkgs-a5fca2095973192ef688237564e66158e3e7506a.tar.lz nixpkgs-a5fca2095973192ef688237564e66158e3e7506a.tar.xz nixpkgs-a5fca2095973192ef688237564e66158e3e7506a.tar.zst nixpkgs-a5fca2095973192ef688237564e66158e3e7506a.zip |
watchexec: 1.11.1 -> 1.12.0
Diffstat (limited to 'pkgs/tools/misc/watchexec')
-rw-r--r-- | pkgs/tools/misc/watchexec/default.nix | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/pkgs/tools/misc/watchexec/default.nix b/pkgs/tools/misc/watchexec/default.nix index dea4478581b..9729f110bb7 100644 --- a/pkgs/tools/misc/watchexec/default.nix +++ b/pkgs/tools/misc/watchexec/default.nix @@ -1,20 +1,27 @@ -{ stdenv, rustPlatform, fetchFromGitHub, CoreServices }: +{ stdenv, rustPlatform, fetchFromGitHub, CoreServices, installShellFiles }: rustPlatform.buildRustPackage rec { pname = "watchexec"; - version = "1.11.1"; + version = "1.12.0"; src = fetchFromGitHub { owner = pname; repo = pname; rev = version; - sha256 = "1iaib7yvxyn3l9kiys9x7wziixj13fmx1z3wgdy6h8c7jv6fpc0j"; + sha256 = "03s9nsss4895x4lp90y65jajavk8c2nj1jjnmx0vbbwl210ghlv1"; }; - cargoSha256 = "101p0qj7ydfhqfz402mxy4bs48vq3rzgj513f1kwv0ba4hn1sxkv"; + cargoSha256 = "07whi9w51ddh8s7v06c3k6n5q9gfx74rdkhgfysi180y2rgnbanj"; + + nativeBuildInputs = [ installShellFiles ]; buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices ]; + postInstall = '' + installManPage doc/watchexec.1 + installShellCompletion --zsh --name _watchexec completions/zsh + ''; + meta = with stdenv.lib; { description = "Executes commands in response to file modifications"; homepage = https://github.com/watchexec/watchexec; |