python3Packages.xcffib: 1.9.0 -> 1.12.0
https://github.com/tych0/xcffib/releases/tag/v1.12.0 This commit was automatically generated using update-python-libraries.
This commit is contained in:
@@ -4,26 +4,30 @@
|
||||
cffi,
|
||||
fetchPypi,
|
||||
pytestCheckHook,
|
||||
xvfb,
|
||||
xeyes,
|
||||
setuptools,
|
||||
libxcb,
|
||||
xeyes,
|
||||
xvfb,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "xcffib";
|
||||
version = "1.9.0";
|
||||
format = "setuptools";
|
||||
version = "1.12.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-K6xgY2lnVOiHHC9AcwR7Uz792Cx33fhnYgEWcJfMUlM=";
|
||||
hash = "sha256-Q0Ut5QnBJk1bzqS8Alyhv2gnLSQO8m0zQLRuEfY9PUo=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Hardcode cairo library path
|
||||
sed -e 's,ffi\.dlopen(,&"${libxcb.out}/lib/" + ,' -i xcffib/__init__.py
|
||||
substituteInPlace xcffib/__init__.py \
|
||||
--replace-fail "lib = ffi.dlopen(soname)" "lib = ffi.dlopen('${lib.getLib libxcb}/lib/' + soname)"
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedNativeBuildInputs = [ cffi ];
|
||||
|
||||
propagatedBuildInputs = [ cffi ];
|
||||
|
||||
Reference in New Issue
Block a user