01ed8ef136
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
45 lines
815 B
Nix
45 lines
815 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, setuptools-scm
|
|
, six
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "repeated-test";
|
|
version = "2.3.1";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
pname = "repeated_test";
|
|
inherit version;
|
|
hash = "sha256-TbVyQA7EjCSwo6qfDksbE8IU1ElkSCABEUBWy5j1KJc=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
six
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"repeated_test"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Unittest-compatible framework for repeating a test function over many fixtures";
|
|
homepage = "https://github.com/epsy/repeated_test";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ tjni ];
|
|
};
|
|
}
|