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