nixpkgs-suyu/pkgs/development/tools/misc/fswatch/default.nix

36 lines
855 B
Nix
Raw Normal View History

2015-01-10 20:29:05 +01:00
{ stdenv
, fetchFromGitHub
2015-05-28 18:54:35 +02:00
, autoreconfHook
# for xargs
2015-04-07 04:48:44 +02:00
, gettext
2015-01-10 20:29:05 +01:00
, libtool
, makeWrapper
, texinfo
, CoreServices
2015-01-10 20:29:05 +01:00
}:
2015-05-28 18:54:35 +02:00
stdenv.mkDerivation rec {
pname = "fswatch";
2020-07-20 07:25:54 +02:00
version = "1.15.0";
2015-01-10 20:29:05 +01:00
src = fetchFromGitHub {
owner = "emcrisostomo";
repo = "fswatch";
rev = version;
2020-07-20 07:25:54 +02:00
sha256 = "11479ac436g8bwk0lfnmdms0cirv9k11pdvfrrg9jwkki1j1abkk";
2015-01-10 20:29:05 +01:00
};
nativeBuildInputs = [ autoreconfHook ] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
buildInputs = [ gettext libtool makeWrapper texinfo ];
2015-01-10 20:29:05 +01:00
enableParallelBuilding = true;
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
};
}