mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
49 lines
875 B
Nix
49 lines
875 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
ffmpeg,
|
|
gtk3,
|
|
imagemagick,
|
|
libarchive,
|
|
libspectre,
|
|
libwebp,
|
|
poppler,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "pqiv";
|
|
version = "2.13.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "phillipberndt";
|
|
repo = "pqiv";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-Op+N4zzq7MazjFvx5VisjsRXbIqLtWPv4hdVjmS7lPY=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [
|
|
ffmpeg
|
|
gtk3
|
|
imagemagick
|
|
libarchive
|
|
libspectre
|
|
libwebp
|
|
poppler
|
|
];
|
|
|
|
prePatch = "patchShebangs .";
|
|
|
|
meta = with lib; {
|
|
description = "Powerful image viewer with minimal UI";
|
|
homepage = "https://www.pberndt.com/Programme/Linux/pqiv";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ donovanglover ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "pqiv";
|
|
};
|
|
})
|