watchexec: 1.11.1 -> 1.12.0
This commit is contained in:
parent
67d17bc447
commit
a5fca20959
@ -1,20 +1,27 @@
|
|||||||
{ stdenv, rustPlatform, fetchFromGitHub, CoreServices }:
|
{ stdenv, rustPlatform, fetchFromGitHub, CoreServices, installShellFiles }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "watchexec";
|
pname = "watchexec";
|
||||||
version = "1.11.1";
|
version = "1.12.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1iaib7yvxyn3l9kiys9x7wziixj13fmx1z3wgdy6h8c7jv6fpc0j";
|
sha256 = "03s9nsss4895x4lp90y65jajavk8c2nj1jjnmx0vbbwl210ghlv1";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "101p0qj7ydfhqfz402mxy4bs48vq3rzgj513f1kwv0ba4hn1sxkv";
|
cargoSha256 = "07whi9w51ddh8s7v06c3k6n5q9gfx74rdkhgfysi180y2rgnbanj";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
installManPage doc/watchexec.1
|
||||||
|
installShellCompletion --zsh --name _watchexec completions/zsh
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Executes commands in response to file modifications";
|
description = "Executes commands in response to file modifications";
|
||||||
homepage = https://github.com/watchexec/watchexec;
|
homepage = https://github.com/watchexec/watchexec;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user