16 pythonVersion = with lib.versions; "${major python.version}${minor python.version}";
18 buildPythonPackage rec {
23 src = fetchFromGitHub {
27 sha256 = "sha256-mbzXpIPMNe6wfwaAAw/Ri8xaW6Z6kuNUhFFyzsiW7Is=";
30 build-system = [ setuptools ];
34 substituteInPlace setup.py \
35 --replace-fail boost_python boost_python${pythonVersion}
37 + lib.optionalString stdenv.hostPlatform.isDarwin ''
38 export NIX_CFLAGS_COMPILE+=" -L$SDKROOT/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries"
50 description = "Python bindings for FTGL (FreeType for OpenGL)";
51 license = lib.licenses.gpl2Plus;