anchor.diff:      portmidi libX11 freetype
     ];
   
  -  # Tests fail because of no audio device and display.
  -  doCheck = false;
  -
     preConfigure = ''
       sed \
         -e "s/origincdirs = .*/origincdirs = []/" \
  
positive.code:     LOCALBASE=/ ${python.interpreter} buildconfig/config.py
    '';
  
    meta = with lib; {
      description = "Python library for games";
      homepage = "http://www.pygame.org/";
      license = licenses.lgpl21Plus;
      platforms = platforms.linux;
    };
  
negative.code: { lib, fetchPypi, buildPythonPackage, python, pkg-config, libX11
  , SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, libpng, libjpeg, portmidi, freetype
  , fontconfig
  }:
  
  buildPythonPackage rec {
  