2024-03-08 05:59:46 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pkg-config,
|
|
|
|
ffmpeg,
|
|
|
|
gtk3,
|
|
|
|
imagemagick,
|
|
|
|
libarchive,
|
|
|
|
libspectre,
|
|
|
|
libwebp,
|
|
|
|
poppler,
|
2017-12-14 19:43:33 +00:00
|
|
|
}:
|
2008-05-27 15:05:16 +00:00
|
|
|
|
2024-03-08 05:59:46 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "pqiv";
|
2024-03-03 13:43:39 +00:00
|
|
|
version = "2.13";
|
2008-05-27 15:05:16 +00:00
|
|
|
|
2017-03-19 02:20:23 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "phillipberndt";
|
|
|
|
repo = "pqiv";
|
2024-03-08 05:59:46 +00:00
|
|
|
rev = finalAttrs.version;
|
|
|
|
hash = "sha256-Jlc6sd9lRWUC1/2GZnJ0EmVRHxCXP8dTZNZEhJBS7oQ=";
|
2008-05-27 15:05:16 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2024-03-08 05:59:46 +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
|
|
|
|
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";
|
2021-05-02 09:11:39 +00:00
|
|
|
homepage = "https://www.pberndt.com/Programme/Linux/pqiv";
|
|
|
|
license = licenses.gpl3Plus;
|
2024-03-08 05:52:30 +00:00
|
|
|
maintainers = with maintainers; [ donovanglover ];
|
2017-09-22 14:24:29 +00:00
|
|
|
platforms = platforms.linux;
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "pqiv";
|
2008-05-27 15:05:16 +00:00
|
|
|
};
|
|
|
|
})
|