2020-07-18 16:06:22 +00:00
|
|
|
{lib, fetchPypi, buildPythonPackage, isPy27, six}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "unittest-xml-reporting";
|
2020-06-15 15:56:04 +00:00
|
|
|
version = "3.0.2";
|
2020-07-18 16:06:22 +00:00
|
|
|
disabled = isPy27;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [six];
|
|
|
|
|
|
|
|
# The tarball from Pypi doesn't actually contain the unit tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-15 15:56:04 +00:00
|
|
|
sha256 = "e09b8ae70cce9904cdd331f53bf929150962869a5324ab7ff3dd6c8b87e01f7d";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/xmlrunner/unittest-xml-reporting/tree/master/";
|
|
|
|
description = "A unittest runner that can save test results to XML files";
|
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
maintainers = with lib.maintainers; [ rprospero ];
|
|
|
|
};
|
|
|
|
}
|