Files
nixpkgs/pkgs/development/python-modules/pytest-subtests/default.nix
Martin Weinelt 6da4b703bb python3Packages.pytest-subtests: 0.14.1 -> 0.14.2
This commit was automatically generated using update-python-libraries.
2025-08-09 19:02:48 +02:00

49 lines
893 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
# build-system
setuptools,
setuptools-scm,
# dependencies
attrs,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pytest-subtests";
version = "0.14.2";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "pytest_subtests";
inherit version;
hash = "sha256-cVSoZl/VKO5wp20AIWpE0TncPJyDUhoPd597CtT4AN4=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [ attrs ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pytest_subtests" ];
meta = with lib; {
description = "Pytest plugin for unittest subTest() support and subtests fixture";
homepage = "https://github.com/pytest-dev/pytest-subtests";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}