13 buildPythonPackage rec {
16 format = "setuptools";
19 inherit pname version;
20 hash = "sha256-WYreAng6rQWjKPZjtRtpTFq2i9XR4JJsDaPFISxWZTM=";
23 depsBuildBuild = [ pkg-config ];
24 nativeBuildInputs = [ wayland-scanner ];
25 propagatedNativeBuildInputs = [ cffi ];
26 buildInputs = [ wayland ];
27 propagatedBuildInputs = [ cffi ];
28 nativeCheckInputs = [ pytestCheckHook ];
31 ${python.pythonOnBuildForHost.interpreter} pywayland/ffi_build.py
34 # Tests need this to create sockets
36 export XDG_RUNTIME_DIR="$PWD"
39 pythonImportsCheck = [ "pywayland" ];
42 homepage = "https://github.com/flacjacket/pywayland";
43 description = "Python bindings to wayland using cffi";
44 mainProgram = "pywayland-scanner";
45 license = licenses.ncsa;
46 maintainers = with maintainers; [ chvp ];