pythonPackages: remove traces of Python 2.6
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, isPy33, isPy26, isPy27, isPyPy, python, pycares, asyncio, trollius }:
|
||||
, isPy33, isPy27, isPyPy, python, pycares, asyncio, trollius }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiodns";
|
||||
@@ -10,9 +10,9 @@ buildPythonPackage rec {
|
||||
sha256 = "d8677adc679ce8d0ef706c14d9c3d2f27a0e0cc11d59730cdbaf218ad52dd9ea";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with stdenv.lib; [ pycares ]
|
||||
++ optional isPy33 asyncio
|
||||
++ optional (isPy26 || isPy27 || isPyPy) trollius;
|
||||
propagatedBuildInputs = with stdenv.lib; [ pycares ]
|
||||
++ optional isPy33 asyncio
|
||||
++ optional (isPy27 || isPyPy) trollius;
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} tests.py
|
||||
|
||||
Reference in New Issue
Block a user