forked from mirrors/nixpkgs
1cb30eb798
``` 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 ```
24 lines
687 B
Nix
24 lines
687 B
Nix
{lib, fetchPypi, buildPythonPackage, isPy27, six}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "unittest-xml-reporting";
|
|
version = "3.0.2";
|
|
disabled = isPy27;
|
|
|
|
propagatedBuildInputs = [six];
|
|
|
|
# The tarball from Pypi doesn't actually contain the unit tests
|
|
doCheck = false;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "e09b8ae70cce9904cdd331f53bf929150962869a5324ab7ff3dd6c8b87e01f7d";
|
|
};
|
|
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 ];
|
|
};
|
|
}
|