11 buildPythonPackage rec {
14 format = "setuptools";
17 inherit pname version;
18 hash = "sha256-9/0ZAmOML3oVrAfzGj72iV08FgyiYBSByoKyxhojxlc=";
21 nativeBuildInputs = [ pkg-config ];
22 propagatedNativeBuildInputs = [ cffi ];
23 buildInputs = [ wayland ];
24 propagatedBuildInputs = [ cffi ];
25 nativeCheckInputs = [ pytestCheckHook ];
28 ${python.pythonOnBuildForHost.interpreter} pywayland/ffi_build.py
31 # Tests need this to create sockets
33 export XDG_RUNTIME_DIR="$PWD"
36 pythonImportsCheck = [ "pywayland" ];
39 homepage = "https://github.com/flacjacket/pywayland";
40 description = "Python bindings to wayland using cffi";
41 mainProgram = "pywayland-scanner";
42 license = licenses.ncsa;
43 maintainers = with maintainers; [ chvp ];