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