2015-01-10 19:29:05 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
2015-05-28 17:54:35 +01:00
|
|
|
, autoreconfHook
|
2018-07-21 01:44:44 +01:00
|
|
|
# for xargs
|
2015-04-07 03:48:44 +01:00
|
|
|
, gettext
|
2015-01-10 19:29:05 +00:00
|
|
|
, libtool
|
|
|
|
, makeWrapper
|
|
|
|
, texinfo
|
|
|
|
}:
|
|
|
|
|
2015-05-28 17:54:35 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-01-10 19:29:05 +00:00
|
|
|
name = "fswatch-${version}";
|
2018-07-01 12:43:34 +01:00
|
|
|
version = "1.12.0";
|
2015-01-10 19:29:05 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "emcrisostomo";
|
|
|
|
repo = "fswatch";
|
|
|
|
rev = version;
|
2018-07-01 12:43:34 +01:00
|
|
|
sha256 = "16f3g6s79gs1sp2ra3cka4c5mf5b557cx697bwcdfgj6r19ni5j7";
|
2015-01-10 19:29:05 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ gettext libtool makeWrapper texinfo ];
|
2015-01-10 19:29:05 +00:00
|
|
|
|
2015-01-20 11:52:49 +00:00
|
|
|
meta = with stdenv.lib; {
|
2015-01-10 19:29:05 +00:00
|
|
|
description = "A cross-platform file change monitor with multiple backends";
|
|
|
|
homepage = https://github.com/emcrisostomo/fswatch;
|
2015-01-20 11:52:49 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2015-01-10 19:29:05 +00:00
|
|
|
};
|
|
|
|
}
|