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