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

27 lines
675 B
Nix
Raw Normal View History

2017-03-19 02:20:23 +00:00
{ stdenv, fetchFromGitHub, getopt, which, pkgconfig, gtk2 } :
stdenv.mkDerivation (rec {
2017-03-19 02:20:23 +00:00
name = "pqiv-${version}";
version = "2.8.3";
2017-03-19 02:20:23 +00:00
src = fetchFromGitHub {
owner = "phillipberndt";
repo = "pqiv";
rev = version;
sha256 = "0fhmqa1q1y5y0ivrgx9xv864zqvd5dk4fiqi4bgi1ybdfx7vv2fy";
};
2017-03-19 02:20:23 +00:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ getopt which gtk2 ];
2017-03-19 02:20:23 +00:00
prePatch = "patchShebangs .";
2017-03-19 02:20:23 +00:00
meta = with stdenv.lib; {
description = "Rewrite of qiv (quick image viewer)";
homepage = http://www.pberndt.com/Programme/Linux/pqiv;
2017-03-19 02:20:23 +00:00
license = licenses.gpl3;
maintainers = [ maintainers.ndowens ];
platforms = platforms.unix;
};
})