1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, pythonOlder 6, setuptools-scm 7}: 8 9buildPythonPackage rec { 10 pname = "pytest-subtests"; 11 version = "0.5.0"; 12 disabled = pythonOlder "3.5"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "5bd1e4bf0eda4c89a6cd42b0ee28e1d2ca0848de3fd67ad8cdd6d559ed00f120"; 17 }; 18 19 nativeBuildInputs = [ setuptools-scm ]; 20 21 checkInputs = [ pytestCheckHook ]; 22 23 pythonImportsCheck = [ "pytest_subtests" ]; 24 25 meta = with lib; { 26 description = "pytest plugin for unittest subTest() support and subtests fixture"; 27 homepage = "https://github.com/pytest-dev/pytest-subtests"; 28 license = licenses.mit; 29 maintainers = with maintainers; [ fab ]; 30 }; 31}