nixpkgs/pkgs/applications/graphics/pqiv/default.nix

29 lines
745 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, pkg-config
, ffmpeg, gtk3, imagemagick, libarchive, libspectre, libwebp, poppler
}:
stdenv.mkDerivation (rec {
pname = "pqiv";
2020-12-01 06:41:35 +01:00
version = "2.12";
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";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ ffmpeg gtk3 imagemagick libarchive libspectre libwebp poppler ];
2017-03-19 03:20:23 +01:00
prePatch = "patchShebangs .";
meta = with lib; {
2017-12-01 19:48:45 +01:00
description = "Powerful image viewer with minimal UI";
homepage = "https://www.pberndt.com/Programme/Linux/pqiv";
license = licenses.gpl3Plus;
2019-12-26 22:28:10 +01:00
maintainers = [];
platforms = platforms.linux;
};
})