python310Packages.deltachat: use pyproject format

This commit is contained in:
Robert Schütz 2023-02-20 09:16:19 -08:00 committed by Robert Schütz
parent 7923b7a53d
commit a089108828

View file

@ -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 = [