python2Packages.unittest-sml-reporting: disable py2
```
builder for '/nix/store/5hqb6vylvzjj92db46wrzd3mp56vv1ms-python2.7-unittest-xml-reporting-3.0.2.drv' failed with exit code 1; last 10 log lines:
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
Traceback (most recent call last):
File "nix_run_setup", line 8, in <module>
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
File "setup.py", line 21, in <module>
raise RuntimeError('This version requires Python 3.5+') # pragma: no cover
RuntimeError: This version requires Python 3.5+
builder for '/nix/store/5hqb6vylvzjj92db46wrzd3mp56vv1ms-python2.7-unittest-xml-reporting-3.0.2.drv' failed with exi
```
2020-07-07 04:15:09 +01:00
|
|
|
{lib, fetchPypi, buildPythonPackage, isPy27, six}:
|
2018-03-22 17:44:27 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "unittest-xml-reporting";
|
2020-08-16 18:31:19 +01:00
|
|
|
version = "3.0.3";
|
python2Packages.unittest-sml-reporting: disable py2
```
builder for '/nix/store/5hqb6vylvzjj92db46wrzd3mp56vv1ms-python2.7-unittest-xml-reporting-3.0.2.drv' failed with exit code 1; last 10 log lines:
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
Traceback (most recent call last):
File "nix_run_setup", line 8, in <module>
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
File "setup.py", line 21, in <module>
raise RuntimeError('This version requires Python 3.5+') # pragma: no cover
RuntimeError: This version requires Python 3.5+
builder for '/nix/store/5hqb6vylvzjj92db46wrzd3mp56vv1ms-python2.7-unittest-xml-reporting-3.0.2.drv' failed with exi
```
2020-07-07 04:15:09 +01:00
|
|
|
disabled = isPy27;
|
2018-03-22 17:44:27 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [six];
|
|
|
|
|
|
|
|
# The tarball from Pypi doesn't actually contain the unit tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 18:31:19 +01:00
|
|
|
sha256 = "89ad3376cc63dc0f7227c1e39d03d5f6a20807fef989c57d8c623446b5f79575";
|
2018-03-22 17:44:27 +00:00
|
|
|
};
|
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/xmlrunner/unittest-xml-reporting/tree/master/";
|
2018-03-22 17:44:27 +00:00
|
|
|
description = "A unittest runner that can save test results to XML files";
|
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
maintainers = with lib.maintainers; [ rprospero ];
|
|
|
|
};
|
|
|
|
}
|