depot/third_party/nixpkgs/pkgs/development/tools/misc/fswatch/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

36 lines
872 B
Nix

{ lib, stdenv
, fetchFromGitHub
, autoreconfHook
# for xargs
, gettext
, libtool
, makeWrapper
, texinfo
, CoreServices
}:
stdenv.mkDerivation rec {
pname = "fswatch";
version = "1.17.1";
src = fetchFromGitHub {
owner = "emcrisostomo";
repo = "fswatch";
rev = version;
sha256 = "sha256-gVYDvda+6ZJkShJXUxUEVxq4enkRrhdvlTTxYWq4Aho=";
};
nativeBuildInputs = [ autoreconfHook makeWrapper ] ++ lib.optionals stdenv.isDarwin [ CoreServices ];
buildInputs = [ gettext libtool texinfo ];
enableParallelBuilding = true;
meta = with lib; {
description = "Cross-platform file change monitor with multiple backends";
mainProgram = "fswatch";
homepage = "https://github.com/emcrisostomo/fswatch";
license = licenses.gpl3Plus;
platforms = platforms.all;
maintainers = with maintainers; [ pSub ];
};
}