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

29 lines
738 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, pkgconfig
, ffmpeg, gtk3, imagemagick, libarchive, libspectre, libwebp, poppler
}:
stdenv.mkDerivation (rec {
pname = "pqiv";
version = "2.11";
2017-03-19 02:20:23 +00:00
src = fetchFromGitHub {
owner = "phillipberndt";
repo = "pqiv";
rev = version;
sha256 = "06cwm28b7j1skwp21s5snmj1pqh3xh6y2i5v4w3pz0b8k3053h9i";
};
2017-03-19 02:20:23 +00:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ffmpeg gtk3 imagemagick libarchive libspectre libwebp poppler ];
2017-03-19 02:20:23 +00:00
prePatch = "patchShebangs .";
2017-03-19 02:20:23 +00:00
meta = with stdenv.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;
};
})