mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
python3.pkgs.pyftgl: fix build with new boost
This commit is contained in:
parent
cb744d55c5
commit
cae2a8ce9f
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, isPy3k
|
||||
, boost, freetype, ftgl, mesa }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -11,6 +11,10 @@ buildPythonPackage rec {
|
||||
sha256 = "12zcjv4cwwjihiaf74kslrdmmk4bs47h7006gyqfwdfchfjdgg4r";
|
||||
};
|
||||
|
||||
postPatch = stdenv.lib.optional isPy3k ''
|
||||
sed -i "s,'boost_python','boost_python3',g" setup.py
|
||||
'';
|
||||
|
||||
buildInputs = [ boost freetype ftgl mesa ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user