forked from mirrors/nixpkgs
Merge pull request #140157 from marsam/update-watchexec
watchexec: 1.15.1 -> 1.17.1
This commit is contained in:
commit
796670a167
|
@ -1,21 +1,21 @@
|
|||
{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices, installShellFiles, libiconv }:
|
||||
{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices, Foundation, installShellFiles, libiconv }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "watchexec";
|
||||
version = "1.15.1";
|
||||
version = "1.17.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1xznhfljvsvc0ykv5h1wg31n93v96lvhbxfhavxivq3b0xh5vxrw";
|
||||
rev = "cli-v${version}";
|
||||
sha256 = "13yqghdhakkwp607j84a1vbqgnqqn77a5mh27cr24352ik2vkrkq";
|
||||
};
|
||||
|
||||
cargoSha256 = "00dampnsnpzmchjcn0j5zslx17i0qgrv99gq772n0683m1l2lfq3";
|
||||
cargoSha256 = "0grzfzxw705zs5qb2h7k0yws45m20ihhh4mnpmk3wargbxpn6gsh";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices libiconv ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices Foundation libiconv ];
|
||||
|
||||
postInstall = ''
|
||||
installManPage doc/watchexec.1
|
||||
|
@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
meta = with lib; {
|
||||
description = "Executes commands in response to file modifications";
|
||||
homepage = "https://github.com/watchexec/watchexec";
|
||||
homepage = "https://watchexec.github.io/";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = [ maintainers.michalrus ];
|
||||
};
|
||||
|
|
|
@ -10161,7 +10161,7 @@ with pkgs;
|
|||
wal_e = callPackage ../tools/backup/wal-e { };
|
||||
|
||||
watchexec = callPackage ../tools/misc/watchexec {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices Foundation;
|
||||
};
|
||||
|
||||
watchman = callPackage ../development/tools/watchman {
|
||||
|
|
Loading…
Reference in a new issue