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