3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.pyside: fix build by passing mesa for GL/gl.h

This commit is contained in:
Michael Raskin 2019-03-03 13:31:34 +01:00
parent 19d817c5ec
commit 20b066356a

View file

@ -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;
};
}