b6d97fd731
GitOrigin-RevId: be0b453d7c7eee2090962c9a83749b024ff9acf5
35 lines
855 B
Nix
35 lines
855 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
# for xargs
|
|
, gettext
|
|
, libtool
|
|
, makeWrapper
|
|
, texinfo
|
|
, CoreServices
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fswatch";
|
|
version = "1.15.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "emcrisostomo";
|
|
repo = "fswatch";
|
|
rev = version;
|
|
sha256 = "11479ac436g8bwk0lfnmdms0cirv9k11pdvfrrg9jwkki1j1abkk";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
|
|
buildInputs = [ gettext libtool makeWrapper texinfo ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.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 ];
|
|
};
|
|
}
|