2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig
|
2020-06-18 07:06:33 +00:00
|
|
|
, ffmpeg_3, gtk3, imagemagick, libarchive, libspectre, libwebp, poppler
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (rec {
|
|
|
|
pname = "pqiv";
|
2020-12-03 08:41:04 +00:00
|
|
|
version = "2.12";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "phillipberndt";
|
|
|
|
repo = "pqiv";
|
|
|
|
rev = version;
|
2020-12-03 08:41:04 +00:00
|
|
|
sha256 = "18nvrqmlifh4m8nfs0d19sb9d1l3a95xc89qxqdr881jcxdsgflw";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2020-06-18 07:06:33 +00:00
|
|
|
buildInputs = [ ffmpeg_3 gtk3 imagemagick libarchive libspectre libwebp poppler ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
prePatch = "patchShebangs .";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Powerful image viewer with minimal UI";
|
|
|
|
homepage = "http://www.pberndt.com/Programme/Linux/pqiv";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
})
|