python3Packages.cairocffi: 1.5.1 -> 1.6.1

Signed-off-by: Jack Leightcap <jack@leightcap.com>
This commit is contained in:
Jack Leightcap 2023-08-04 20:04:55 -04:00
parent f2cdd1c318
commit 2311ba8e91
No known key found for this signature in database

View File

@ -11,25 +11,24 @@
, pytestCheckHook
, cairo
, cffi
, flit-core
, numpy
, withXcffib ? false
, xcffib
, glib
, gdk-pixbuf
, setuptools
}:
buildPythonPackage rec {
pname = "cairocffi";
version = "1.5.1";
version = "1.6.1";
format = "pyproject";
disabled = pythonOlder "3.7";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-Bxq3ty41MzALC/1VpSBWtP/cHtbmVneeKs7Ztwm4opU=";
hash = "sha256-eOa75HNXZAxFPQvpKfpJzQXM4uEobz0qHKnL2n79uLc=";
};
patches = [
@ -45,11 +44,9 @@ buildPythonPackage rec {
];
nativeBuildInputs = [
setuptools
flit-core
];
propagatedNativeBuildInputs = [ cffi ];
propagatedBuildInputs = [ cairo cffi ]
++ lib.optional withXcffib xcffib;
@ -59,6 +56,10 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [
"cairocffi"
];
meta = with lib; {
changelog = "https://github.com/Kozea/cairocffi/blob/v${version}/NEWS.rst";
homepage = "https://github.com/SimonSapin/cairocffi";