at 15.09-beta 39 lines 899 B view raw
1{ stdenv 2, fetchFromGitHub 3, autoreconfHook 4, findutils # for xargs 5, gettext 6, libtool 7, makeWrapper 8, texinfo 9}: 10 11stdenv.mkDerivation rec { 12 name = "fswatch-${version}"; 13 version = "1.5.0"; 14 15 src = fetchFromGitHub { 16 owner = "emcrisostomo"; 17 repo = "fswatch"; 18 rev = version; 19 sha256 = "09np75m9df2nk7lc5y9wgq467ca6jsd2p5666d5rkzjvy6s0a51n"; 20 }; 21 22 buildInputs = [ autoreconfHook gettext libtool makeWrapper texinfo ]; 23 24 postFixup = '' 25 for prog in fswatch-run fswatch-run-bash; do 26 wrapProgram $out/bin/$prog \ 27 --prefix PATH "${findutils}/bin" 28 done 29 ''; 30 31 meta = with stdenv.lib; { 32 description = "A cross-platform file change monitor with multiple backends"; 33 homepage = https://github.com/emcrisostomo/fswatch; 34 license = licenses.gpl3Plus; 35 platforms = platforms.all; 36 maintainers = with maintainers; [ pSub ]; 37 }; 38 39}