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

29 lines
744 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, pkg-config
, ffmpeg_3, gtk3, imagemagick, libarchive, libspectre, libwebp, poppler
}:
stdenv.mkDerivation (rec {
pname = "pqiv";
2020-11-30 21:41:35 -08:00
version = "2.12";
2017-03-18 19:20:23 -07:00
src = fetchFromGitHub {
owner = "phillipberndt";
repo = "pqiv";
rev = version;
2020-11-30 21:41:35 -08:00
sha256 = "18nvrqmlifh4m8nfs0d19sb9d1l3a95xc89qxqdr881jcxdsgflw";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ ffmpeg_3 gtk3 imagemagick libarchive libspectre libwebp poppler ];
2017-03-18 19:20:23 -07:00
prePatch = "patchShebangs .";
meta = with lib; {
2017-12-01 10:48:45 -08:00
description = "Powerful image viewer with minimal UI";
homepage = "http://www.pberndt.com/Programme/Linux/pqiv";
2017-03-18 19:20:23 -07:00
license = licenses.gpl3;
2019-12-26 13:28:10 -08:00
maintainers = [];
platforms = platforms.linux;
};
})