summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-07-06 20:15:09 -0700
committerJon <jonringer@users.noreply.github.com>2020-07-07 11:01:25 -0700
commit1cb30eb79890b471166f1446de928ef1c905ea7c (patch)
tree018944707bc9b4eac2589ffa930846ce77f28b7e /pkgs
parent7c162b09393c61386437b505162644a9a98c0cce (diff)
downloadnixpkgs-1cb30eb79890b471166f1446de928ef1c905ea7c.tar
nixpkgs-1cb30eb79890b471166f1446de928ef1c905ea7c.tar.gz
nixpkgs-1cb30eb79890b471166f1446de928ef1c905ea7c.tar.bz2
nixpkgs-1cb30eb79890b471166f1446de928ef1c905ea7c.tar.lz
nixpkgs-1cb30eb79890b471166f1446de928ef1c905ea7c.tar.xz
nixpkgs-1cb30eb79890b471166f1446de928ef1c905ea7c.tar.zst
nixpkgs-1cb30eb79890b471166f1446de928ef1c905ea7c.zip
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
```
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/unittest-xml-reporting/default.nix3
1 files changed, 2 insertions, 1 deletions
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];