10 buildPythonPackage rec {
13 format = "setuptools";
15 disabled = pythonOlder "3.7";
18 inherit pname version;
19 hash = "sha256-qVyUZfL5e0/O3mBr0eCEB6Mt9xy3YP1Xv+U2d9tpGsw=";
23 # Hardcode cairo library path
24 sed -e 's,ffi\.dlopen(,&"${xorg.libxcb.out}/lib/" + ,' -i xcffib/__init__.py
27 propagatedNativeBuildInputs = [
31 propagatedBuildInputs = [
46 pythonImportsCheck = [
51 description = "A drop in replacement for xpyb, an XCB python binding";
52 homepage = "https://github.com/tych0/xcffib";
53 changelog = "https://github.com/tych0/xcffib/releases/tag/v${version}";
54 license = licenses.asl20;
55 maintainers = with maintainers; [ kamilchm ];