diff --git a/pkgs/development/python-modules/pytest-voluptuous/default.nix b/pkgs/development/python-modules/pytest-voluptuous/default.nix index dd5f6afd2411..398e04ac64cf 100644 --- a/pkgs/development/python-modules/pytest-voluptuous/default.nix +++ b/pkgs/development/python-modules/pytest-voluptuous/default.nix @@ -5,6 +5,8 @@ pytest, pytestCheckHook, pythonOlder, + setuptools-scm, + setuptools, six, voluptuous, }: @@ -12,7 +14,7 @@ buildPythonPackage rec { pname = "pytest-voluptuous"; version = "1.2.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -23,9 +25,14 @@ buildPythonPackage rec { hash = "sha256-xdj4qCSSJQI9Rb1WyUYrAg1I5wQ5o6IJyIjJAafP/LY="; }; + build-system = [ + setuptools + setuptools-scm + ]; + buildInputs = [ pytest ]; - propagatedBuildInputs = [ voluptuous ]; + dependencies = [ voluptuous ]; nativeCheckInputs = [ pytestCheckHook