diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2017-08-27 07:08:53 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2017-08-27 07:08:53 +0100 |
commit | b0e90b99db9c6e728676a85f2006038f5fcb092e (patch) | |
tree | 0cb537c604d520082459e2d65f1580085c80ba5b /pkgs/development/python-modules/pygame_sdl2 | |
parent | 3eae39b38a5842e5473e1c01efdf0ba37d7c9866 (diff) | |
download | nixpkgs-b0e90b99db9c6e728676a85f2006038f5fcb092e.tar nixpkgs-b0e90b99db9c6e728676a85f2006038f5fcb092e.tar.gz nixpkgs-b0e90b99db9c6e728676a85f2006038f5fcb092e.tar.bz2 nixpkgs-b0e90b99db9c6e728676a85f2006038f5fcb092e.tar.lz nixpkgs-b0e90b99db9c6e728676a85f2006038f5fcb092e.tar.xz nixpkgs-b0e90b99db9c6e728676a85f2006038f5fcb092e.tar.zst nixpkgs-b0e90b99db9c6e728676a85f2006038f5fcb092e.zip |
python.pkgs.pygame_sdl2: python3 tests are non-functional
Diffstat (limited to 'pkgs/development/python-modules/pygame_sdl2')
-rw-r--r-- | pkgs/development/python-modules/pygame_sdl2/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/pygame_sdl2/default.nix b/pkgs/development/python-modules/pygame_sdl2/default.nix index 6f6163bb35e..eab56f9f7ac 100644 --- a/pkgs/development/python-modules/pygame_sdl2/default.nix +++ b/pkgs/development/python-modules/pygame_sdl2/default.nix @@ -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 ; ) |