diff --git a/pkgs/development/python-modules/pytest-black/default.nix b/pkgs/development/python-modules/pytest-black/default.nix index f46abe031c3f..6fe022b8cd88 100644 --- a/pkgs/development/python-modules/pytest-black/default.nix +++ b/pkgs/development/python-modules/pytest-black/default.nix @@ -10,25 +10,27 @@ buildPythonPackage rec { pname = "pytest-black"; - version = "0.3.12"; + version = "0.6.0"; format = "setuptools"; src = fetchPypi { - inherit pname version; - sha256 = "1d339b004f764d6cd0f06e690f6dd748df3d62e6fe1a692d6a5500ac2c5b75a5"; + pname = "pytest_black"; + inherit version; + sha256 = "sha256-7Ld0VfN5gFy0vY9FqBOjdUw7vuMZmt8bNmXA39CGtRE="; }; - nativeBuildInputs = [ setuptools-scm ]; + build-system = [ setuptools-scm ]; buildInputs = [ pytest ]; - propagatedBuildInputs = [ + dependencies = [ black toml ]; # does not contain tests doCheck = false; + pythonImportsCheck = [ "pytest_black" ]; meta = with lib; {