@@ -1,16 +1,17 @@
1−{ stdenv, buildPythonPackage, fetchPypi
1+{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
22, isPy27, isPyPy, python, pycares, typing, trollius }:
33
44buildPythonPackage rec {
55 pname = "aiodns";
6− version = "1.2.0";
6+ version = "2.0.0";
77
88 src = fetchPypi {
99 inherit pname version;
10− sha256 = "d67e14b32176bcf3ff79b5d47c466011ce4adeadfa264f7949da1377332a0449";
10+ sha256 = "815fdef4607474295d68da46978a54481dd1e7be153c7d60f9e72773cd38d77d";
1111 };
1212
13− propagatedBuildInputs = with stdenv.lib; [ pycares typing ]
13+ propagatedBuildInputs = with stdenv.lib; [ pycares ]
14+ ++ optional (pythonOlder "3.7") typing
1415 ++ optional (isPy27 || isPyPy) trollius;
1516
1617 checkPhase = ''