11 buildPythonPackage rec {
14 format = "setuptools";
17 inherit pname version;
18 hash = "sha256-NTEafcAU/PU1/2n3pb3m8dbZptI9j9nnmVG4iFqHHe8=";
21 nativeBuildInputs = [ pkg-config ];
22 propagatedNativeBuildInputs = [ cffi ];
23 buildInputs = [ libxkbcommon ];
24 propagatedBuildInputs = [ cffi ];
25 nativeCheckInputs = [ pytestCheckHook ];
28 ${python.pythonOnBuildForHost.interpreter} xkbcommon/ffi_build.py
31 pythonImportsCheck = [ "xkbcommon" ];
34 homepage = "https://github.com/sde1000/python-xkbcommon";
35 description = "Python bindings for libxkbcommon using cffi";
36 license = licenses.mit;
37 maintainers = with maintainers; [ chvp ];