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