at 23.05-pre 35 lines 845 B view raw
1{ lib, stdenv 2, fetchFromGitHub 3, autoreconfHook 4 # for xargs 5, gettext 6, libtool 7, makeWrapper 8, texinfo 9, CoreServices 10}: 11 12stdenv.mkDerivation rec { 13 pname = "fswatch"; 14 version = "1.17.1"; 15 16 src = fetchFromGitHub { 17 owner = "emcrisostomo"; 18 repo = "fswatch"; 19 rev = version; 20 sha256 = "sha256-gVYDvda+6ZJkShJXUxUEVxq4enkRrhdvlTTxYWq4Aho="; 21 }; 22 23 nativeBuildInputs = [ autoreconfHook makeWrapper ] ++ lib.optionals stdenv.isDarwin [ CoreServices ]; 24 buildInputs = [ gettext libtool texinfo ]; 25 26 enableParallelBuilding = true; 27 28 meta = with lib; { 29 description = "A cross-platform file change monitor with multiple backends"; 30 homepage = "https://github.com/emcrisostomo/fswatch"; 31 license = licenses.gpl3Plus; 32 platforms = platforms.all; 33 maintainers = with maintainers; [ pSub ]; 34 }; 35}