841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
35 lines
845 B
Nix
35 lines
845 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
# for xargs
|
|
, gettext
|
|
, libtool
|
|
, makeWrapper
|
|
, texinfo
|
|
, CoreServices
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fswatch";
|
|
version = "1.16.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "emcrisostomo";
|
|
repo = "fswatch";
|
|
rev = version;
|
|
sha256 = "sha256-EKbo5gkrWuijLJgYsNBDtxy0ioXu/yHxnPPeOpk620g=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook makeWrapper ] ++ lib.optionals stdenv.isDarwin [ CoreServices ];
|
|
buildInputs = [ gettext libtool texinfo ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "A cross-platform file change monitor with multiple backends";
|
|
homepage = "https://github.com/emcrisostomo/fswatch";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ pSub ];
|
|
};
|
|
}
|