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

29 lines
771 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, pkgconfig
, ffmpeg, gtk3, imagemagick, libarchive, libspectre, libwebp, poppler
}:
stdenv.mkDerivation (rec {
2017-03-19 03:20:23 +01:00
name = "pqiv-${version}";
2017-12-13 13:04:31 +01:00
version = "2.10.2";
2017-03-19 03:20:23 +01:00
src = fetchFromGitHub {
owner = "phillipberndt";
repo = "pqiv";
rev = version;
2017-12-13 13:04:31 +01:00
sha256 = "0zn7ps73lw04l9i4777c90ik07v3hkg66mnpz8vvvwjyi40i77a7";
};
2017-03-19 03:20:23 +01:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ffmpeg gtk3 imagemagick libarchive libspectre libwebp poppler ];
2017-03-19 03:20:23 +01:00
prePatch = "patchShebangs .";
2017-03-19 03:20:23 +01:00
meta = with stdenv.lib; {
2017-12-01 19:48:45 +01:00
description = "Powerful image viewer with minimal UI";
homepage = http://www.pberndt.com/Programme/Linux/pqiv;
2017-03-19 03:20:23 +01:00
license = licenses.gpl3;
maintainers = [ maintainers.ndowens ];
platforms = platforms.linux;
};
})