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-12-01 05:41:35 +00:00
version = "2.12";
2017-03-19 02:20:23 +00:00
src = fetchFromGitHub {
owner = "phillipberndt";
repo = "pqiv";
rev = version;
2020-12-01 05:41:35 +00:00
sha256 = "18nvrqmlifh4m8nfs0d19sb9d1l3a95xc89qxqdr881jcxdsgflw";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ ffmpeg_3 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 = "http://www.pberndt.com/Programme/Linux/pqiv";
2017-03-19 02:20:23 +00:00
license = licenses.gpl3;
2019-12-26 21:28:10 +00:00
maintainers = [];
platforms = platforms.linux;
};
})