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}";
|
|
|
|
version = "2.8.3";
|
2008-05-27 16:05:16 +01:00
|
|
|
|
2017-03-19 02:20:23 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "phillipberndt";
|
|
|
|
repo = "pqiv";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0fhmqa1q1y5y0ivrgx9xv864zqvd5dk4fiqi4bgi1ybdfx7vv2fy";
|
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 ];
|
|
|
|
platforms = platforms.unix;
|
2008-05-27 16:05:16 +01:00
|
|
|
};
|
|
|
|
})
|