2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config
|
2021-05-02 11:11:39 +02:00
|
|
|
, 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";
|
2020-12-01 06:41:35 +01:00
|
|
|
version = "2.12";
|
2008-05-27 17:05:16 +02:00
|
|
|
|
2017-03-19 03:20:23 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "phillipberndt";
|
|
|
|
repo = "pqiv";
|
|
|
|
rev = version;
|
2020-12-01 06:41:35 +01:00
|
|
|
sha256 = "18nvrqmlifh4m8nfs0d19sb9d1l3a95xc89qxqdr881jcxdsgflw";
|
2008-05-27 17:05:16 +02:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2021-05-02 11:11:39 +02: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
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-12-01 19:48:45 +01:00
|
|
|
description = "Powerful image viewer with minimal UI";
|
2021-05-02 11:11:39 +02:00
|
|
|
homepage = "https://www.pberndt.com/Programme/Linux/pqiv";
|
|
|
|
license = licenses.gpl3Plus;
|
2019-12-26 22:28:10 +01:00
|
|
|
maintainers = [];
|
2017-09-22 16:24:29 +02:00
|
|
|
platforms = platforms.linux;
|
2008-05-27 17:05:16 +02:00
|
|
|
};
|
|
|
|
})
|