Merge pull request #180848 from kilianar/imgcat

imgcat: 2.3.1 -> 2.5.1
This commit is contained in:
Mario Rodas 2022-07-19 23:41:44 -05:00 committed by GitHub
commit 35a81f2925
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";