From f2f8816b2cb9d1089a87baea6f6bae0e97fb26ac Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 19 Jan 2025 21:17:43 +0100 Subject: [PATCH] python3Packages.pytest-black: 0.3.12 -> 0.6.0 --- .../python-modules/pytest-black/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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; {