2017-12-15 16:39:28 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig
|
|
|
|
, ffmpeg, gtk3, imagemagick, libarchive, libspectre, libwebp, poppler
|
2017-12-14 19:43:33 +00:00
|
|
|
}:
|
2008-05-27 15:05:16 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation (rec {
|
2017-03-19 02:20:23 +00:00
|
|
|
name = "pqiv-${version}";
|
2018-04-30 18:41:45 +00:00
|
|
|
version = "2.10.4";
|
2008-05-27 15:05:16 +00:00
|
|
|
|
2017-03-19 02:20:23 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "phillipberndt";
|
|
|
|
repo = "pqiv";
|
|
|
|
rev = version;
|
2018-04-30 18:41:45 +00:00
|
|
|
sha256 = "04fawc3sd625y1bbgfgwmak56pq28sm58dwn5db4h183iy3awdl9";
|
2008-05-27 15:05:16 +00:00
|
|
|
};
|
|
|
|
|
2017-03-19 02:20:23 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2017-12-15 16:39:28 +00:00
|
|
|
buildInputs = [ ffmpeg gtk3 imagemagick libarchive libspectre libwebp poppler ];
|
2008-05-27 15:05:16 +00:00
|
|
|
|
2017-03-19 02:20:23 +00:00
|
|
|
prePatch = "patchShebangs .";
|
2008-05-27 15:05:16 +00:00
|
|
|
|
2017-03-19 02:20:23 +00:00
|
|
|
meta = with stdenv.lib; {
|
2017-12-01 18:48:45 +00:00
|
|
|
description = "Powerful image viewer with minimal UI";
|
2008-05-27 15:05:16 +00:00
|
|
|
homepage = http://www.pberndt.com/Programme/Linux/pqiv;
|
2017-03-19 02:20:23 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.ndowens ];
|
2017-09-22 14:24:29 +00:00
|
|
|
platforms = platforms.linux;
|
2008-05-27 15:05:16 +00:00
|
|
|
};
|
|
|
|
})
|