pythonPackages: remove traces of Python 2.6

This commit is contained in:
Frederik Rietdijk
2018-06-25 10:50:44 +02:00
parent 6806fb5e48
commit 1dd0109c8c
7 changed files with 32 additions and 63 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy26, argparse, attrs, hypothesis, py
{ stdenv, buildPythonPackage, fetchPypi, attrs, hypothesis, py
, setuptools_scm, setuptools, six, pluggy, funcsigs, isPy3k, more-itertools
, atomicwrites, mock
}:
@@ -19,8 +19,7 @@ buildPythonPackage rec {
checkInputs = [ hypothesis mock ];
buildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ attrs py setuptools six pluggy more-itertools atomicwrites]
++ (stdenv.lib.optional (!isPy3k) funcsigs)
++ (stdenv.lib.optional isPy26 argparse);
++ (stdenv.lib.optional (!isPy3k) funcsigs);
checkPhase = ''
runHook preCheck