1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

Revert "adding python libraries serial and game which are both dependencies of plover steno engine which needs more testing".

The patch lacks the required file "pygame.patch".
This commit is contained in:
Peter Simons 2012-09-27 13:41:44 +02:00
parent 8432dddfe8
commit 310c7be3a1

View file

@ -784,36 +784,6 @@ let pythonPackages = python.modules // rec {
};
});
game = buildPythonPackage rec {
name = "pygame-1.9.1";
src = fetchurl {
url = http://www.pygame.org/ftp/pygame-1.9.1release.tar.gz;
sha256 = "0cyl0ww4fjlf289pjxa53q4klyn55ajvkgymw0qrdgp4593raq52";
};
patches = [ ./pygame.patch ];
# auto confirming missing dependencies:
# PORTMIDI and PORTTIME still missing
patchPhase = ''
sed -i 's@raw_input(.*@"1"@' config_unix.py
unset patchPhase
patchPhase
'';
installCommand = "python setup.py install --prefix=$out";
propagatedBuildInputs = [
pkgs.SDL
pkgs.SDL_mixer
pkgs.SDL_gfx
pkgs.SDL_net
pkgs.SDL_sound
pkgs.SDL_ttf
pkgs.SDL_image
pkgs.smpeg
pkgs.libpng
pkgs.libjpeg
];
};
genshi = buildPythonPackage {
name = "genshi-0.6";
@ -3039,15 +3009,6 @@ let pythonPackages = python.modules // rec {
};
};
serial = buildPythonPackage rec {
name = "pyserial-2.5";
doCheck = false;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/project/pyserial/pyserial/2.5/pyserial-2.5.tar.gz;
sha256 = "04gmpfb43ppc8cf1bvkz8r1gl0nrxc38kpfdqs40ib0d1ql25pgd";
};
};
tracing = buildPythonPackage rec {
name = "tracing-0.6";