2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv
|
2015-01-10 19:29:05 +00:00
|
|
|
, 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
|
2019-06-17 14:06:02 +01:00
|
|
|
, CoreServices
|
2015-01-10 19:29:05 +00:00
|
|
|
}:
|
|
|
|
|
2015-05-28 17:54:35 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "fswatch";
|
2020-07-20 06:25:54 +01:00
|
|
|
version = "1.15.0";
|
2015-01-10 19:29:05 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "emcrisostomo";
|
|
|
|
repo = "fswatch";
|
|
|
|
rev = version;
|
2020-07-20 06:25:54 +01:00
|
|
|
sha256 = "11479ac436g8bwk0lfnmdms0cirv9k11pdvfrrg9jwkki1j1abkk";
|
2015-01-10 19:29:05 +00:00
|
|
|
};
|
|
|
|
|
2021-02-07 09:17:39 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook makeWrapper ] ++ lib.optionals stdenv.isDarwin [ CoreServices ];
|
|
|
|
buildInputs = [ gettext libtool texinfo ];
|
2015-01-10 19:29:05 +00:00
|
|
|
|
2020-12-11 12:55:28 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2015-01-10 19:29:05 +00:00
|
|
|
description = "A cross-platform file change monitor with multiple backends";
|
2020-04-01 02:11:51 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|