mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
commit
63f15db529
@ -1,20 +1,17 @@
|
||||
{ lib, stdenv, fetchurl, coreutils, ncurses, fetchpatch }:
|
||||
{ lib, stdenv, fetchurl, coreutils }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "entr";
|
||||
version = "5.1";
|
||||
version = "5.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://eradman.com/entrproject/code/${pname}-${version}.tar.gz";
|
||||
hash = "sha256-D4f1d7zodkHFJa3bm8xgu6pXn+mB2rdZBD484VVtu5I=";
|
||||
hash = "sha256-I34wnUawdSEMDky3ib/Qycd37d9sswNBw/49vMZYw4A=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile.bsd --replace /bin/echo echo
|
||||
substituteInPlace entr.c --replace /bin/cat ${coreutils}/bin/cat
|
||||
substituteInPlace entr.c --replace /usr/bin/clear ${ncurses.out}/bin/clear
|
||||
substituteInPlace entr.1 --replace /bin/cat cat
|
||||
substituteInPlace entr.1 --replace /usr/bin/clear clear
|
||||
'';
|
||||
dontAddPrefix = true;
|
||||
doCheck = true;
|
||||
|
Loading…
Reference in New Issue
Block a user