depot/third_party/nixpkgs/pkgs/development/tools/misc/fswatch/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

35 lines
845 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 = "A cross-platform file change monitor with multiple backends";
homepage = "https://github.com/emcrisostomo/fswatch";
license = licenses.gpl3Plus;
platforms = platforms.all;
maintainers = with maintainers; [ pSub ];
};
}