pythonPackages.pyglet: 1.3.2 -> 1.4.2

This commit is contained in:
Jos van Bakel 2019-11-02 14:11:31 +01:00 committed by Jon
parent 062a4d4081
commit 2d5aa98874

View file

@ -43,6 +43,8 @@ buildPythonPackage rec {
path = '${gtk2-x11}/lib/libgdk-x11-2.0${ext}'
elif name == 'gdk_pixbuf-2.0':
path = '${gdk-pixbuf}/lib/libgdk_pixbuf-2.0${ext}'
elif name == 'Xext':
path = '${xorg.libXext}/lib/libXext${ext}'
if path is not None:
return ctypes.cdll.LoadLibrary(path)
raise Exception("Could not load library {}".format(names))