mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
48 lines
875 B
Nix
48 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";
|
|
};
|
|
})
|