1 { lib, stdenv, fetchurl, pkg-config, gtk2, imlib2, file, lcms2, libexif } :
3 stdenv.mkDerivation (rec {
8 url = "https://spiegl.de/qiv/download/${pname}-${version}.tgz";
9 sha256 = "sha256-7whf/eLUiwWzZlk55a4eNZ06OBAI+4J2hPfW/UxTNwQ=";
12 nativeBuildInputs = [ pkg-config ];
13 buildInputs = [ gtk2 imlib2 file lcms2 libexif ];
16 substituteInPlace Makefile --replace /usr/local "$out"
17 substituteInPlace Makefile --replace /man/ /share/man/
18 substituteInPlace Makefile --replace /share/share/ /share/
22 description = "Quick image viewer";
23 homepage = "http://spiegl.de/qiv/";
24 license = licenses.gpl2;
25 platforms = platforms.linux;