forked from mirrors/nixpkgs
pythonPackages.pyside: fix build by passing mesa for GL/gl.h
This commit is contained in:
parent
19d817c5ec
commit
20b066356a
|
@ -1,4 +1,4 @@
|
|||
{ lib, fetchurl, cmake, buildPythonPackage, pysideGeneratorrunner, pysideShiboken, qt4 }:
|
||||
{ lib, fetchurl, cmake, buildPythonPackage, pysideGeneratorrunner, pysideShiboken, qt4, mesa }:
|
||||
|
||||
# This derivation provides a Python module and should therefore be called via `python-packages.nix`.
|
||||
buildPythonPackage rec {
|
||||
|
@ -15,12 +15,13 @@ buildPythonPackage rec {
|
|||
|
||||
nativeBuildInputs = [ cmake pysideGeneratorrunner pysideShiboken qt4 ];
|
||||
|
||||
buildInputs = [ mesa ];
|
||||
|
||||
makeFlags = "QT_PLUGIN_PATH=" + pysideShiboken + "/lib/generatorrunner";
|
||||
|
||||
meta = {
|
||||
description = "LGPL-licensed Python bindings for the Qt cross-platform application and UI framework";
|
||||
license = lib.licenses.lgpl21;
|
||||
homepage = http://www.pyside.org;
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue