1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 flit-core, 6 ruamel-yaml, 7 pytest, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "pytest-param-files"; 13 version = "0.6.0"; 14 format = "pyproject"; 15 16 src = fetchFromGitHub { 17 owner = "chrisjsewell"; 18 repo = "pytest-param-files"; 19 tag = "v${version}"; 20 hash = "sha256-hgEEfKf9Kmah5WDNHoFWQJKLOs9Z5BDHiebXCdDc1zE="; 21 }; 22 23 nativeBuildInputs = [ flit-core ]; 24 25 buildInputs = [ pytest ]; 26 27 propagatedBuildInputs = [ ruamel-yaml ]; 28 29 pythonImportsCheck = [ "pytest_param_files" ]; 30 31 nativeCheckInputs = [ pytestCheckHook ]; 32 33 meta = with lib; { 34 description = "Package to generate parametrized pytests from external files"; 35 homepage = "https://github.com/chrisjsewell/pytest-param-files"; 36 license = licenses.mit; 37 maintainers = with maintainers; [ loicreynier ]; 38 }; 39}