8 buildPythonPackage rec {
11 format = "setuptools";
13 disabled = pythonOlder "3.7";
15 src = fetchFromGitHub {
16 owner = "FlorianRhiem";
18 rev = "refs/tags/v${version}";
19 hash = "sha256-3K+mDSz4ifVYkUvhd2XDPbhh6UCY4y54YqNLoAYDsP0=";
22 # Patch path to GLFW shared object
23 patches = [ ./search-path.patch ];
26 substituteInPlace glfw/library.py --replace "@GLFW@" '${glfw3}/lib'
29 propagatedBuildInputs = [
33 # Project has no tests
36 pythonImportsCheck = [
41 description = "Python bindings for GLFW";
42 homepage = "https://github.com/FlorianRhiem/pyGLFW";
43 changelog = "https://github.com/FlorianRhiem/pyGLFW/blob/v${version}/CHANGELOG.md";
44 license = licenses.mit;
45 maintainers = [ maintainers.McSinyx ];