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