1{lib, fetchPypi, buildPythonPackage, isPy27, six}: 2 3buildPythonPackage rec { 4 pname = "unittest-xml-reporting"; 5 version = "3.0.4"; 6 disabled = isPy27; 7 8 propagatedBuildInputs = [six]; 9 10 # The tarball from Pypi doesn't actually contain the unit tests 11 doCheck = false; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "984cebba69e889401bfe3adb9088ca376b3a1f923f0590d005126c1bffd1a695"; 16 }; 17 meta = with lib; { 18 homepage = "https://github.com/xmlrunner/unittest-xml-reporting/tree/master/"; 19 description = "A unittest runner that can save test results to XML files"; 20 license = lib.licenses.bsd2; 21 maintainers = with lib.maintainers; [ rprospero ]; 22 }; 23}