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

27 lines
673 B
Nix
Raw Normal View History

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