2016-02-19 12:12:11 +00:00
|
|
|
{ stdenv, fetchurl, buildPythonApplication, python, pygtk, pillow, libX11, gettext }:
|
2012-07-02 15:27:41 +01:00
|
|
|
|
2016-02-19 12:12:11 +00:00
|
|
|
buildPythonApplication rec {
|
2012-07-02 15:27:41 +01:00
|
|
|
namePrefix = "";
|
|
|
|
name = "mirage-0.9.5.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-05-18 12:25:43 +01:00
|
|
|
url = "mirror://sourceforge/mirageiv/${name}.tar.bz2";
|
2012-07-02 15:27:41 +01:00
|
|
|
sha256 = "d214a1b6d99d1d1e83da5848a2cef181f6781e0990e93f7ebff5880b0c43f43c";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
buildInputs = [ stdenv libX11 gettext ];
|
|
|
|
|
2013-11-14 20:17:21 +00:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i "s@/usr/local/share/locale@$out/share/locale@" mirage.py
|
|
|
|
'';
|
|
|
|
|
2015-12-08 14:11:00 +00:00
|
|
|
propagatedBuildInputs = [ pygtk pillow ];
|
2012-07-02 15:27:41 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Simple image viewer written in PyGTK";
|
|
|
|
|
2014-05-18 12:25:43 +01:00
|
|
|
homepage = http://mirageiv.sourceforge.net/;
|
2012-07-02 15:27:41 +01:00
|
|
|
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2012-07-02 15:27:41 +01:00
|
|
|
};
|
|
|
|
}
|