pythonPackages.boost: version of boost for specific interpreter

Several Python packages require boost. pkgs.boost is built with Python
2.7 and therefore libboost_python.so was compatible only with 2.7.
This commit is contained in:
Frederik Rietdijk 2016-11-14 12:05:25 +01:00
parent 901e79aac2
commit dbee363591

View File

@ -2200,6 +2200,10 @@ in {
};
};
# Build boost for this specific Python version
# TODO: use separate output for libboost_python.so
boost = pkgs.boost.override {inherit python;};
buttersink = buildPythonPackage rec {
name = "buttersink-0.6.8";
@ -19990,7 +19994,7 @@ in {
sha256 = "12zcjv4cwwjihiaf74kslrdmmk4bs47h7006gyqfwdfchfjdgg4r";
};
buildInputs = with self; [ pkgs.boost pkgs.freetype pkgs.ftgl pkgs.mesa ];
buildInputs = with self; [ boost pkgs.freetype pkgs.ftgl pkgs.mesa ];
meta = {
description = "Python bindings for FTGL (FreeType for OpenGL)";