nixpkgs/pkgs/by-name/pq/pqiv/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
875 B
Nix
Raw Normal View History

2024-03-08 05:59:46 +00:00
{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
ffmpeg,
gtk3,
imagemagick,
libarchive,
libspectre,
libwebp,
poppler,
}:
2024-03-08 05:59:46 +00:00
stdenv.mkDerivation (finalAttrs: {
pname = "pqiv";
2024-03-11 23:04:26 +00:00
version = "2.13.1";
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;
2024-03-11 23:04:26 +00:00
hash = "sha256-Op+N4zzq7MazjFvx5VisjsRXbIqLtWPv4hdVjmS7lPY=";
};
nativeBuildInputs = [ pkg-config ];
2024-03-08 05:59:46 +00:00
buildInputs = [
ffmpeg
gtk3
imagemagick
libarchive
libspectre
libwebp
poppler
];
2017-03-19 02:20:23 +00:00
prePatch = "patchShebangs .";
meta = with lib; {
2017-12-01 18:48:45 +00:00
description = "Powerful image viewer with minimal UI";
homepage = "https://www.pberndt.com/Programme/Linux/pqiv";
license = licenses.gpl3Plus;
2024-03-08 05:52:30 +00:00
maintainers = with maintainers; [ donovanglover ];
platforms = platforms.linux;
2024-02-11 02:19:15 +00:00
mainProgram = "pqiv";
};
})