From 2311ba8e91172b9a6138ef0790685a762f46c985 Mon Sep 17 00:00:00 2001 From: Jack Leightcap Date: Fri, 4 Aug 2023 20:04:55 -0400 Subject: [PATCH] python3Packages.cairocffi: 1.5.1 -> 1.6.1 Signed-off-by: Jack Leightcap --- .../python-modules/cairocffi/default.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/cairocffi/default.nix b/pkgs/development/python-modules/cairocffi/default.nix index ff79eacf99b8..fb0a81e202d9 100644 --- a/pkgs/development/python-modules/cairocffi/default.nix +++ b/pkgs/development/python-modules/cairocffi/default.nix @@ -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";