From 1cb30eb79890b471166f1446de928ef1c905ea7c Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 6 Jul 2020 20:15:09 -0700 Subject: [PATCH] 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 exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec')) File "setup.py", line 21, in 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 ``` --- .../python-modules/unittest-xml-reporting/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/unittest-xml-reporting/default.nix b/pkgs/development/python-modules/unittest-xml-reporting/default.nix index 4481aedfaf9..113f5535f60 100644 --- a/pkgs/development/python-modules/unittest-xml-reporting/default.nix +++ b/pkgs/development/python-modules/unittest-xml-reporting/default.nix @@ -1,8 +1,9 @@ -{lib, fetchPypi, buildPythonPackage, six}: +{lib, fetchPypi, buildPythonPackage, isPy27, six}: buildPythonPackage rec { pname = "unittest-xml-reporting"; version = "3.0.2"; + disabled = isPy27; propagatedBuildInputs = [six];