1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, pythonOlder 6, setuptools 7, setuptools-scm 8}: 9 10buildPythonPackage rec { 11 pname = "pytest-subtests"; 12 version = "0.11.0"; 13 format = "pyproject"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-UYZciEV1RfUftyARlC8KPGkB7p4ky/ttG53BNIuvvjc="; 20 }; 21 22 nativeBuildInputs = [ 23 setuptools 24 setuptools-scm 25 ]; 26 27 nativeCheckInputs = [ 28 pytestCheckHook 29 ]; 30 31 pythonImportsCheck = [ 32 "pytest_subtests" 33 ]; 34 35 meta = with lib; { 36 description = "Pytest plugin for unittest subTest() support and subtests fixture"; 37 homepage = "https://github.com/pytest-dev/pytest-subtests"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}