|
|
|
@ -1,5 +1,5 @@ |
|
|
|
|
{ stdenv, buildPythonPackage, fetchPypi |
|
|
|
|
, isPy33, isPy27, isPyPy, python, pycares, asyncio, trollius }: |
|
|
|
|
, isPy33, isPy27, isPyPy, python, pycares, typing, asyncio, trollius }: |
|
|
|
|
|
|
|
|
|
buildPythonPackage rec { |
|
|
|
|
pname = "aiodns"; |
|
|
|
@ -10,8 +10,7 @@ buildPythonPackage rec { |
|
|
|
|
sha256 = "d67e14b32176bcf3ff79b5d47c466011ce4adeadfa264f7949da1377332a0449"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = with stdenv.lib; [ pycares ] |
|
|
|
|
++ optional isPy33 asyncio |
|
|
|
|
propagatedBuildInputs = with stdenv.lib; [ pycares typing ] |
|
|
|
|
++ optional (isPy27 || isPyPy) trollius; |
|
|
|
|
|
|
|
|
|
checkPhase = '' |
|
|
|
|