diff options
author | Peter Simons <simons@cryp.to> | 2012-07-02 16:27:41 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2012-07-02 17:13:35 +0200 |
commit | 7c76847d5b4a36210cb79f08880eaf81cb62c8b1 (patch) | |
tree | 95d6231a951cf8cc2c3114e4ef15680554d00250 /pkgs/applications/graphics | |
parent | 36e345d052553e9cd1331801e1bbfb0515d54b9e (diff) | |
download | nixlib-7c76847d5b4a36210cb79f08880eaf81cb62c8b1.tar nixlib-7c76847d5b4a36210cb79f08880eaf81cb62c8b1.tar.gz nixlib-7c76847d5b4a36210cb79f08880eaf81cb62c8b1.tar.bz2 nixlib-7c76847d5b4a36210cb79f08880eaf81cb62c8b1.tar.lz nixlib-7c76847d5b4a36210cb79f08880eaf81cb62c8b1.tar.xz nixlib-7c76847d5b4a36210cb79f08880eaf81cb62c8b1.tar.zst nixlib-7c76847d5b4a36210cb79f08880eaf81cb62c8b1.zip |
mirage: add version 0.9.5.2
Patch submitted by Jan Malakhovski <oxij@oxij.org>.
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r-- | pkgs/applications/graphics/mirage/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/mirage/default.nix b/pkgs/applications/graphics/mirage/default.nix new file mode 100644 index 000000000000..dd1fbcc7e073 --- /dev/null +++ b/pkgs/applications/graphics/mirage/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchurl, buildPythonPackage, python, pygtk, pil, libX11, gettext }: + +buildPythonPackage rec { + namePrefix = ""; + name = "mirage-0.9.5.2"; + + src = fetchurl { + url = "http://download.berlios.de/mirageiv/${name}.tar.bz2"; + sha256 = "d214a1b6d99d1d1e83da5848a2cef181f6781e0990e93f7ebff5880b0c43f43c"; + }; + + postInstall = '' + mv $out/lib/${python.libPrefix}/site-packages/*.egg/share $out + ''; + + doCheck = false; + + buildInputs = [ stdenv libX11 gettext ]; + + pythonPath = [ pygtk pil ]; + + meta = { + description = "Simple image viewer written in PyGTK"; + + homepage = http://mirageiv.berlios.de/; + + license = "GPLv2"; + }; +} |