pythonPackages.pytest-param-files: init at 0.3.4

This commit is contained in:
Loïc Reynier 2022-06-09 15:02:52 +02:00
parent eafcfbf6e5
commit 737da09157
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, pytest
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytest-param-files";
version = "0.3.4";
src = fetchFromGitHub {
owner = "chrisjsewell";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Q7wWoggJN2w2a2umQHx5TsVcugqpovBEtOKruNMZQ8A=";
};
format = "flit";
nativeBuildInputs = [ flit-core ];
buildInputs = [
pytest
];
pythonImportsCheck = [ "pytest_param_files" ];
checkInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Package to generate parametrized pytests from external files";
homepage = "https://github.com/chrisjsewell/pytest-param-files";
license = licenses.mit;
maintainers = with maintainers; [ loicreynier ];
};
}

View File

@ -8324,6 +8324,8 @@ in {
pytest-ordering = callPackage ../development/python-modules/pytest-ordering { };
pytest-param-files = callPackage ../development/python-modules/pytest-param-files { };
pytest-pylint = callPackage ../development/python-modules/pytest-pylint { };
pytest-qt = callPackage ../development/python-modules/pytest-qt { };