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