2015-01-10 11:29:05 -08:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
2015-05-28 09:54:35 -07:00
|
|
|
, autoreconfHook
|
2018-07-20 17:44:44 -07:00
|
|
|
# for xargs
|
2015-04-06 19:48:44 -07:00
|
|
|
, gettext
|
2015-01-10 11:29:05 -08:00
|
|
|
, libtool
|
|
|
|
, makeWrapper
|
|
|
|
, texinfo
|
2019-06-17 06:06:02 -07:00
|
|
|
, CoreServices
|
2015-01-10 11:29:05 -08:00
|
|
|
}:
|
|
|
|
|
2015-05-28 09:54:35 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "fswatch";
|
2018-12-15 22:01:59 -08:00
|
|
|
version = "1.14.0";
|
2015-01-10 11:29:05 -08:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "emcrisostomo";
|
|
|
|
repo = "fswatch";
|
|
|
|
rev = version;
|
2018-12-15 22:01:59 -08:00
|
|
|
sha256 = "1d1fvm36qgh6a5j9v24wai61d297pvzxr14jngjlhh4i474ff21i";
|
2015-01-10 11:29:05 -08:00
|
|
|
};
|
|
|
|
|
2019-06-17 06:06:02 -07:00
|
|
|
nativeBuildInputs = [ autoreconfHook ] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
|
2017-09-05 14:26:13 -07:00
|
|
|
buildInputs = [ gettext libtool makeWrapper texinfo ];
|
2015-01-10 11:29:05 -08:00
|
|
|
|
2015-01-20 03:52:49 -08:00
|
|
|
meta = with stdenv.lib; {
|
2015-01-10 11:29:05 -08:00
|
|
|
description = "A cross-platform file change monitor with multiple backends";
|
|
|
|
homepage = https://github.com/emcrisostomo/fswatch;
|
2015-01-20 03:52:49 -08:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2015-01-10 11:29:05 -08:00
|
|
|
};
|
|
|
|
}
|