1 { lib, buildPythonPackage, fetchFromGitHub
2 , boost, freetype, ftgl, libGLU, libGL
8 pythonVersion = with lib.versions; "${major python.version}${minor python.version}";
12 buildPythonPackage rec {
16 src = fetchFromGitHub {
18 repo = "${pname}-${version}";
20 sha256 = "12zcjv4cwwjihiaf74kslrdmmk4bs47h7006gyqfwdfchfjdgg4r";
24 sed -i "s,'boost_python','boost_python${pythonVersion}',g" setup.py
27 buildInputs = [ boost freetype ftgl libGLU libGL ];
30 description = "Python bindings for FTGL (FreeType for OpenGL)";
31 license = licenses.gpl2Plus;