diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-03-16 12:58:18 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-03-16 12:58:41 +0100 |
commit | 5b72839b7981aebdf9b09c4f012cf640ca60b9e9 (patch) | |
tree | 43bf31064a04e041b06f76eda6cb074c5889634a /pkgs/development/python-modules/pytest-error-for-skips | |
parent | 916536210d4faa221216d6319f39b2a7167beb59 (diff) |
python3Packages.pytest-error-for-skips: init at 2.0.2
Diffstat (limited to 'pkgs/development/python-modules/pytest-error-for-skips')
-rw-r--r-- | pkgs/development/python-modules/pytest-error-for-skips/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest-error-for-skips/default.nix b/pkgs/development/python-modules/pytest-error-for-skips/default.nix new file mode 100644 index 0000000000000..60d3f16a1c971 --- /dev/null +++ b/pkgs/development/python-modules/pytest-error-for-skips/default.nix @@ -0,0 +1,31 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pytest +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "pytest-error-for-skips"; + version = "2.0.2"; + + src = fetchFromGitHub { + owner = "jankatins"; + repo = pname; + rev = version; + sha256 = "04i4jd3bg4lgn2jfh0a0dzg3ml9b2bjv2ndia6b64w96r3r4p3qr"; + }; + + buildInputs = [ pytest ]; + + checkInputs = [ pytestCheckHook ]; + + pythonImportsCheck = [ "pytest_error_for_skips" ]; + + meta = with lib; { + description = "Pytest plugin to treat skipped tests a test failures"; + homepage = "https://github.com/jankatins/pytest-error-for-skips"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} |