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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
845 B
Nix
Raw Normal View History

{ lib, stdenv
2015-01-10 19:29:05 +00:00
, fetchFromGitHub
2015-05-28 16:54:35 +00:00
, autoreconfHook
# for xargs
2015-04-07 02:48:44 +00:00
, gettext
2015-01-10 19:29:05 +00:00
, libtool
, makeWrapper
, texinfo
, CoreServices
2015-01-10 19:29:05 +00:00
}:
2015-05-28 16:54:35 +00:00
stdenv.mkDerivation rec {
pname = "fswatch";
2022-07-08 11:22:40 +00:00
version = "1.17.1";
2015-01-10 19:29:05 +00:00
src = fetchFromGitHub {
owner = "emcrisostomo";
repo = "fswatch";
rev = version;
2022-07-08 11:22:40 +00:00
sha256 = "sha256-gVYDvda+6ZJkShJXUxUEVxq4enkRrhdvlTTxYWq4Aho=";
2015-01-10 19:29:05 +00:00
};
nativeBuildInputs = [ autoreconfHook makeWrapper ] ++ lib.optionals stdenv.isDarwin [ CoreServices ];
buildInputs = [ gettext libtool texinfo ];
2015-01-10 19:29:05 +00:00
enableParallelBuilding = true;
meta = with 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
};
}