1 { lib, stdenv, fetchurl, coreutils }:
3 stdenv.mkDerivation rec {
8 url = "https://eradman.com/entrproject/code/${pname}-${version}.tar.gz";
9 hash = "sha256-I34wnUawdSEMDky3ib/Qycd37d9sswNBw/49vMZYw4A=";
13 substituteInPlace entr.c --replace /bin/cat ${coreutils}/bin/cat
14 substituteInPlace entr.1 --replace /bin/cat cat
19 installFlags = [ "PREFIX=$(out)" ];
22 homepage = "https://eradman.com/entrproject/";
23 description = "Run arbitrary commands when files change";
24 changelog = "https://github.com/eradman/entr/raw/${version}/NEWS";
25 license = licenses.isc;
26 platforms = platforms.all;
27 maintainers = with maintainers; [ pSub synthetica ];