diff --git a/pkgs/applications/graphics/imgcat/default.nix b/pkgs/applications/graphics/imgcat/default.nix index cb2301d6339e..b904dec08569 100644 --- a/pkgs/applications/graphics/imgcat/default.nix +++ b/pkgs/applications/graphics/imgcat/default.nix @@ -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";