10 buildPythonPackage rec {
11 pname = "unittest-xml-reporting";
13 format = "setuptools";
14 disabled = pythonOlder "3.7";
16 src = fetchFromGitHub {
18 repo = "unittest-xml-reporting";
20 hash = "sha256-lOJ/+8CVJUXdIaZLLF5PpPkG0DzlNgo46kRZ1Xy7Ju0=";
23 propagatedBuildInputs = [
31 pytestFlagsArray = lib.optionals (pythonAtLeast "3.11") [
32 # AttributeError: 'tuple' object has no attribute 'shortDescription'
33 "--deselect=tests/testsuite.py::XMLTestRunnerTestCase::test_basic_unittest_constructs"
34 "--deselect=tests/testsuite.py::XMLTestRunnerTestCase::test_unexpected_success"
37 pythonImportsCheck = [ "xmlrunner" ];
40 homepage = "https://github.com/xmlrunner/unittest-xml-reporting";
41 description = "unittest-based test runner with Ant/JUnit like XML reporting";
42 license = licenses.bsd2;
43 maintainers = with maintainers; [ rprospero ];