diff options
author | Graham Bennett <graham@grahambennett.org> | 2024-01-13 14:57:17 +0000 |
---|---|---|
committer | Graham Bennett <graham@grahambennett.org> | 2024-01-13 14:57:17 +0000 |
commit | a55dc4f573fba66b72af88bae80c9fe95c1061f7 (patch) | |
tree | 370a5b128fe07260c8369edfc63bd5c04011987d /pkgs | |
parent | a3ada00f8a297a06617b2882a0943c26c8f3f424 (diff) |
python3Packages.diff-cover: fix to use pyproject
Upstream has moved to pyproject.toml so this package doesn't build without this fix.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/diff-cover/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/diff-cover/default.nix b/pkgs/development/python-modules/diff-cover/default.nix index 7a7c28fbe4bc0..ee5e15e3da73c 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 |