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