2016-09-11 22:24:51 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk2, imlib2, file, lcms2, libexif } :
|
2013-01-11 19:24:20 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation (rec {
|
2014-06-13 10:36:56 +01:00
|
|
|
version = "2.3.1";
|
|
|
|
name = "qiv-${version}";
|
2013-01-11 19:24:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://spiegl.de/qiv/download/${name}.tgz";
|
2014-06-13 10:36:56 +01:00
|
|
|
sha256 = "1rlf5h67vhj7n1y7jqkm9k115nfnzpwngj3kzqsi2lg676srclv7";
|
2013-01-11 19:24:20 +00:00
|
|
|
};
|
|
|
|
|
2016-09-11 22:24:51 +01:00
|
|
|
buildInputs = [ pkgconfig gtk2 imlib2 file lcms2 libexif ];
|
2013-01-11 19:24:20 +00:00
|
|
|
|
2013-01-21 19:03:53 +00:00
|
|
|
preBuild=''
|
|
|
|
substituteInPlace Makefile --replace /usr/local "$out"
|
|
|
|
substituteInPlace Makefile --replace /man/ /share/man/
|
|
|
|
'';
|
2013-01-11 19:24:20 +00:00
|
|
|
|
|
|
|
meta = {
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "Quick image viewer";
|
2013-01-11 19:24:20 +00:00
|
|
|
homepage = http://spiegl.de/qiv/;
|
2014-06-13 10:36:56 +01:00
|
|
|
inherit version;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2013-01-11 19:24:20 +00:00
|
|
|
};
|
|
|
|
})
|