python3Packages.pytest-tap: init at 3.3

This commit is contained in:
Karel Kočí 2022-12-27 15:49:22 +01:00
parent 52bf0b7dc0
commit 9295cc28c9
No known key found for this signature in database
GPG key ID: D83BD732AC2BD828
3 changed files with 49 additions and 0 deletions

View file

@ -3019,6 +3019,15 @@
githubId = 16950437;
name = "cwyc";
};
cynerd = {
name = "Karel Kočí";
email = "cynerd@email.cz";
github = "Cynerd";
githubId = 3811900;
keys = [{
fingerprint = "2B1F 70F9 5F1B 48DA 2265 A7FA A6BC 8B8C EB31 659B";
}];
};
cyounkins = {
name = "Craig Younkins";
email = "cyounkins@gmail.com";

View file

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytest
, tappy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytest-tap";
version = "3.3";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "python-tap";
repo = "pytest-tap";
rev = "v${version}";
sha256 = "R0RSdKTyJYGq+x0+ut4pJEywTGNgGp/ps36ZaH5dyY4=";
};
buildInputs = [ pytest ];
propagatedBuildInputs = [ tappy ];
checkInputs = [ pytestCheckHook ];
disabledTests = [
# Fixed in 4ed0138bf659c348b6dfb8bb701ae1989625d3d8 and hopefully in next release
"test_unittest_expected_failure"
];
meta = with lib; {
description = "Test Anything Protocol (TAP) reporting plugin for pytest";
homepage = "https://github.com/python-tap/pytest-tap";
changelog = "https://github.com/python-tap/pytest-tap/blob/v${version}/docs/releases.rst";
license = licenses.bsd2;
maintainers = with maintainers; [ cynerd ];
};
}

View file

@ -8982,6 +8982,8 @@ self: super: with self; {
pytest-sugar = callPackage ../development/python-modules/pytest-sugar { };
pytest-tap = callPackage ../development/python-modules/pytest-tap { };
pytest-test-utils = callPackage ../development/python-modules/pytest-test-utils { };
pytest-testmon = callPackage ../development/python-modules/pytest-testmon { };