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