Merge pull request #28597 from orivej/rocksndiamonds

rocksndiamonds: init at 4.0.0.2
This commit is contained in:
Jörg Thalheim
2017-08-27 08:18:54 +01:00
committed by GitHub
8 changed files with 178 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, pkgs, buildPythonPackage, fetchFromGitHub
{ stdenv, pkgs, buildPythonPackage, fetchFromGitHub, isPy27
, cython, SDL2, SDL2_image, SDL2_ttf, SDL2_mixer, libjpeg, libpng }:
buildPythonPackage rec {
@@ -18,6 +18,9 @@ buildPythonPackage rec {
cython libjpeg libpng
];
doCheck = isPy27; # python3 tests are non-functional
postInstall = ''
( cd "$out"/include/python*/ ;
ln -s pygame-sdl2 pygame_sdl2 || true ; )