From a55dc4f573fba66b72af88bae80c9fe95c1061f7 Mon Sep 17 00:00:00 2001 From: Graham Bennett Date: Sat, 13 Jan 2024 14:57:17 +0000 Subject: [PATCH] python3Packages.diff-cover: fix to use pyproject Upstream has moved to pyproject.toml so this package doesn't build without this fix. --- pkgs/development/python-modules/diff-cover/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/diff-cover/default.nix b/pkgs/development/python-modules/diff-cover/default.nix index 7a7c28fbe4bc..ee5e15e3da73 100644 --- a/pkgs/development/python-modules/diff-cover/default.nix +++ b/pkgs/development/python-modules/diff-cover/default.nix @@ -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