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

27 lines
674 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}";
2017-07-08 00:05:48 +01:00
version = "2.9";
2017-03-19 02:20:23 +00:00
src = fetchFromGitHub {
owner = "phillipberndt";
repo = "pqiv";
rev = version;
2017-07-08 00:05:48 +01:00
sha256 = "1xncf6aq52zpxpmz3ikmlkinz7y3nmbpgfxjb7q40sqs00n0mfsd";
};
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.linux;
};
})