3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #23981 from lheckemann/pygame

pygame: 1.9.1 -> 1.9.3
This commit is contained in:
Michael Raskin 2017-03-17 10:35:05 +01:00 committed by GitHub
commit 7ff27013ac

View file

@ -1,29 +1,24 @@
{ stdenv, lib, fetchurl, buildPythonPackage, python, smpeg, libX11
, SDL, SDL_image, SDL_mixer, SDL_ttf, libpng, libjpeg, portmidi, isPy3k,
, SDL, SDL_image, SDL_mixer, SDL_ttf, libpng, libjpeg, portmidi, freetype
}:
buildPythonPackage rec {
name = "pygame-${version}";
version = "1.9.1";
version = "1.9.3";
src = fetchurl {
url = "http://www.pygame.org/ftp/pygame-1.9.1release.tar.gz";
sha256 = "0cyl0ww4fjlf289pjxa53q4klyn55ajvkgymw0qrdgp4593raq52";
url = "mirror://pypi/p/pygame/pygame-${version}.tar.gz";
sha256 = "1hlydiyygl444bq5m5g8n3jsxsgrdyxlm42ipmfbw36wkf0j243m";
};
buildInputs = [
SDL SDL_image SDL_mixer SDL_ttf libpng libjpeg
smpeg portmidi libX11
portmidi libX11 freetype
];
# http://ubuntuforums.org/showthread.php?t=1960262
disabled = isPy3k;
# Tests fail because of no audio device and display.
doCheck = false;
patches = [ ./pygame-v4l.patch ];
preConfigure = ''
sed \
-e "s/^origincdirs = .*/origincdirs = []/" \