diff --git a/pkgs/development/python-modules/fields/default.nix b/pkgs/development/python-modules/fields/default.nix index fa15f987657e..2f6a7c9f1305 100644 --- a/pkgs/development/python-modules/fields/default.nix +++ b/pkgs/development/python-modules/fields/default.nix @@ -2,24 +2,29 @@ buildPythonPackage, lib, fetchPypi, + setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "fields"; version = "5.0.0"; - format = "setuptools"; + pyproject = true; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-MdSqA9jUTjXfE8Qx3jUTaZfwR6kkpZfYT3vCCeG+Vyc="; }; + build-system = [ setuptools ]; + pythonImportsCheck = [ "fields" ]; + doCheck = false; # Argument(s) {'path'} are declared in the hookimpl but can not be found in the hookspec + meta = { description = "Container class boilerplate killer"; homepage = "https://github.com/ionelmc/python-fields"; license = lib.licenses.bsd2; maintainers = [ lib.maintainers.sheepforce ]; }; -} +})