11 buildPythonPackage rec {
16 inherit pname version;
17 hash = "sha256-9/0ZAmOML3oVrAfzGj72iV08FgyiYBSByoKyxhojxlc=";
20 nativeBuildInputs = [ pkg-config ];
21 propagatedNativeBuildInputs = [ cffi ];
22 buildInputs = [ wayland ];
23 propagatedBuildInputs = [ cffi ];
24 nativeCheckInputs = [ pytestCheckHook ];
27 ${python.pythonOnBuildForHost.interpreter} pywayland/ffi_build.py
30 # Tests need this to create sockets
32 export XDG_RUNTIME_DIR="$PWD"
35 pythonImportsCheck = [ "pywayland" ];
38 homepage = "https://github.com/flacjacket/pywayland";
39 description = "Python bindings to wayland using cffi";
40 license = licenses.ncsa;
41 maintainers = with maintainers; [ chvp ];