3a4df29a92
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
40 lines
785 B
Nix
40 lines
785 B
Nix
{ 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 ];
|
|
};
|
|
}
|