2017-12-01 10:48:45 -08:00
|
|
|
{ stdenv, fetchFromGitHub, getopt, which, pkgconfig, gtk3 } :
|
2008-05-27 08:05:16 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation (rec {
|
2017-03-18 19:20:23 -07:00
|
|
|
name = "pqiv-${version}";
|
2017-12-13 04:04:31 -08:00
|
|
|
version = "2.10.2";
|
2008-05-27 08:05:16 -07:00
|
|
|
|
2017-03-18 19:20:23 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "phillipberndt";
|
|
|
|
repo = "pqiv";
|
|
|
|
rev = version;
|
2017-12-13 04:04:31 -08:00
|
|
|
sha256 = "0zn7ps73lw04l9i4777c90ik07v3hkg66mnpz8vvvwjyi40i77a7";
|
2008-05-27 08:05:16 -07:00
|
|
|
};
|
|
|
|
|
2017-03-18 19:20:23 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2017-12-01 10:48:45 -08:00
|
|
|
buildInputs = [ getopt which gtk3 ];
|
2008-05-27 08:05:16 -07:00
|
|
|
|
2017-03-18 19:20:23 -07:00
|
|
|
prePatch = "patchShebangs .";
|
2008-05-27 08:05:16 -07:00
|
|
|
|
2017-03-18 19:20:23 -07:00
|
|
|
meta = with stdenv.lib; {
|
2017-12-01 10:48:45 -08:00
|
|
|
description = "Powerful image viewer with minimal UI";
|
2008-05-27 08:05:16 -07:00
|
|
|
homepage = http://www.pberndt.com/Programme/Linux/pqiv;
|
2017-03-18 19:20:23 -07:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.ndowens ];
|
2017-09-22 07:24:29 -07:00
|
|
|
platforms = platforms.linux;
|
2008-05-27 08:05:16 -07:00
|
|
|
};
|
|
|
|
})
|