Skip to content

Commit 1cb30eb

Browse files
author
Jonathan Ringer
committed
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 ```
1 parent 7c162b0 commit 1cb30eb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • pkgs/development/python-modules/unittest-xml-reporting

pkgs/development/python-modules/unittest-xml-reporting/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
{lib, fetchPypi, buildPythonPackage, six}:
1+
{lib, fetchPypi, buildPythonPackage, isPy27, six}:
22

33
buildPythonPackage rec {
44
pname = "unittest-xml-reporting";
55
version = "3.0.2";
6+
disabled = isPy27;
67

78
propagatedBuildInputs = [six];
89

0 commit comments

Comments
 (0)