1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 16:42:09 +00:00
nixpkgs/pkgs/applications/graphics/mirage/default.nix
2014-07-28 11:31:14 +02:00

30 lines
706 B
Nix

{ stdenv, fetchurl, buildPythonPackage, python, pygtk, pil, libX11, gettext }:
buildPythonPackage rec {
namePrefix = "";
name = "mirage-0.9.5.2";
src = fetchurl {
url = "mirror://sourceforge/mirageiv/${name}.tar.bz2";
sha256 = "d214a1b6d99d1d1e83da5848a2cef181f6781e0990e93f7ebff5880b0c43f43c";
};
doCheck = false;
buildInputs = [ stdenv libX11 gettext ];
patchPhase = ''
sed -i "s@/usr/local/share/locale@$out/share/locale@" mirage.py
'';
pythonPath = [ pygtk pil ];
meta = {
description = "Simple image viewer written in PyGTK";
homepage = http://mirageiv.sourceforge.net/;
license = stdenv.lib.licenses.gpl2;
};
}