10 buildPythonPackage rec {
15 inherit pname version;
16 sha256 = "12949cfe2e68c806efd57596bb9bf3c151f399d4b53e15d1101b2e9baaa66f5a";
20 # Hardcode cairo library path
21 sed -e 's,ffi\.dlopen(,&"${xorg.libxcb.out}/lib/" + ,' -i xcffib/__init__.py
24 propagatedBuildInputs = [ cffi six ];
26 propagatedNativeBuildInputs = [ cffi ];
28 checkInputs = [ nose ];
30 pythonImportsCheck = [ "xcffib" ];
33 description = "A drop in replacement for xpyb, an XCB python binding";
34 homepage = "https://github.com/tych0/xcffib";
35 license = licenses.asl20;
36 maintainers = with maintainers; [ kamilchm ];