2017-03-19 02:20:23 +00:00
|
|
|
{ stdenv, fetchFromGitHub, getopt, which, pkgconfig, gtk2 } :
|
2008-05-27 16:05:16 +01:00
|
|
|
|
|
|
|
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";
|
2008-05-27 16:05:16 +01:00
|
|
|
|
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";
|
2008-05-27 16:05:16 +01:00
|
|
|
};
|
|
|
|
|
2017-03-19 02:20:23 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ getopt which gtk2 ];
|
2008-05-27 16:05:16 +01:00
|
|
|
|
2017-03-19 02:20:23 +00:00
|
|
|
prePatch = "patchShebangs .";
|
2008-05-27 16:05:16 +01:00
|
|
|
|
2017-03-19 02:20:23 +00:00
|
|
|
meta = with stdenv.lib; {
|
2008-05-27 16:05:16 +01:00
|
|
|
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 ];
|
2017-09-22 15:24:29 +01:00
|
|
|
platforms = platforms.linux;
|
2008-05-27 16:05:16 +01:00
|
|
|
};
|
|
|
|
})
|