commit
35a81f2925
@ -1,14 +1,12 @@
|
||||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, ncurses }:
|
||||
{ lib, stdenv, fetchFromGitHub, cimg, ncurses }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "imgcat";
|
||||
version = "2.3.1";
|
||||
version = "2.5.1";
|
||||
|
||||
nativeBuildInputs = [ autoconf automake libtool ];
|
||||
buildInputs = [ ncurses ];
|
||||
buildInputs = [ ncurses cimg ];
|
||||
|
||||
preConfigure = ''
|
||||
${autoconf}/bin/autoconf
|
||||
sed -i -e "s|-ltermcap|-L ${ncurses}/lib -lncurses|" Makefile
|
||||
'';
|
||||
|
||||
@ -18,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
owner = "eddieantonio";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0frz40rjwi73nx2dlqvmnn56zwr29bmnngfb11hhwr7v58yfajdi";
|
||||
sha256 = "sha256-EkVE6BgoA1lo4oqlNETTxLILIVvGXspFyXykxpmYk8M=";
|
||||
};
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error";
|
||||
|
Loading…
Reference in New Issue
Block a user