python3Packages.diff-cover: fix to use pyproject

Upstream has moved to pyproject.toml so this package doesn't build without this
fix.
This commit is contained in:
Graham Bennett 2024-01-13 14:57:17 +00:00
parent a3ada00f8a
commit a55dc4f573

View File

@ -5,6 +5,7 @@
, jinja2
, jinja2-pluralize
, pluggy
, poetry-core
, pycodestyle
, pyflakes
, pygments
@ -19,7 +20,7 @@
buildPythonPackage rec {
pname = "diff-cover";
version = "8.0.1";
format = "setuptools";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -29,6 +30,10 @@ buildPythonPackage rec {
hash = "sha256-zDnRmety/kG83P7hZOtbWRUztMYlWA4/mprMaGkGTXw=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
chardet
jinja2