From a089108828bbcf570013c370b2a4a782ab4bd0c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 20 Feb 2023 09:16:19 -0800 Subject: [PATCH] python310Packages.deltachat: use pyproject format --- pkgs/development/python-modules/deltachat/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/deltachat/default.nix b/pkgs/development/python-modules/deltachat/default.nix index d0bdc0cd7179..11e652b3826b 100644 --- a/pkgs/development/python-modules/deltachat/default.nix +++ b/pkgs/development/python-modules/deltachat/default.nix @@ -1,9 +1,10 @@ { lib , buildPythonPackage -, isPy27 +, pythonOlder , pkg-config , pkgconfig , setuptools-scm +, wheel , libdeltachat , cffi , imap-tools @@ -18,12 +19,16 @@ buildPythonPackage rec { inherit (libdeltachat) version src; sourceRoot = "${src.name}/python"; - disabled = isPy27; + disabled = pythonOlder "3.7"; + format = "pyproject"; nativeBuildInputs = [ + cffi pkg-config pkgconfig + setuptools setuptools-scm + wheel ]; SETUPTOOLS_SCM_PRETEND_VERSION = version; @@ -37,7 +42,7 @@ buildPythonPackage rec { imap-tools pluggy requests - setuptools + setuptools # for pkg_resources ]; nativeCheckInputs = [