python310Packages.deltachat: use pyproject format
This commit is contained in:
parent
7923b7a53d
commit
a089108828
1 changed files with 8 additions and 3 deletions
|
@ -1,9 +1,10 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, isPy27
|
, pythonOlder
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, setuptools-scm
|
, setuptools-scm
|
||||||
|
, wheel
|
||||||
, libdeltachat
|
, libdeltachat
|
||||||
, cffi
|
, cffi
|
||||||
, imap-tools
|
, imap-tools
|
||||||
|
@ -18,12 +19,16 @@ buildPythonPackage rec {
|
||||||
inherit (libdeltachat) version src;
|
inherit (libdeltachat) version src;
|
||||||
sourceRoot = "${src.name}/python";
|
sourceRoot = "${src.name}/python";
|
||||||
|
|
||||||
disabled = isPy27;
|
disabled = pythonOlder "3.7";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
cffi
|
||||||
pkg-config
|
pkg-config
|
||||||
pkgconfig
|
pkgconfig
|
||||||
|
setuptools
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
|
wheel
|
||||||
];
|
];
|
||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
@ -37,7 +42,7 @@ buildPythonPackage rec {
|
||||||
imap-tools
|
imap-tools
|
||||||
pluggy
|
pluggy
|
||||||
requests
|
requests
|
||||||
setuptools
|
setuptools # for pkg_resources
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
|
|
Loading…
Reference in a new issue