2020-12-07 10:46:57 +00:00
|
|
|
{ lib, buildPythonPackage, isPy27, fetchPypi, setuptools_scm, pytestCheckHook }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-subtests";
|
2021-02-25 07:48:53 +00:00
|
|
|
version = "0.4.0";
|
2020-12-07 10:46:57 +00:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-25 07:48:53 +00:00
|
|
|
sha256 = "sha256-jZ4sHR3OEfe30snQkgLr/HdXt/8MrJtyrTKO3+fuA3s=";
|
2020-12-07 10:46:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
|
|
|
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "pytest plugin for unittest subTest() support and subtests fixture";
|
|
|
|
homepage = "https://github.com/pytest-dev/pytest-subtests";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|