python.pkgs.aiodns: 1.2.0 -> 2.0.0

This commit is contained in:
Robert Schütz 2019-03-19 16:10:27 +01:00
parent 99cd4a1063
commit fc172b3590

View file

@ -1,16 +1,17 @@
{ stdenv, buildPythonPackage, fetchPypi
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
, isPy27, isPyPy, python, pycares, typing, trollius }:
buildPythonPackage rec {
pname = "aiodns";
version = "1.2.0";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "d67e14b32176bcf3ff79b5d47c466011ce4adeadfa264f7949da1377332a0449";
sha256 = "815fdef4607474295d68da46978a54481dd1e7be153c7d60f9e72773cd38d77d";
};
propagatedBuildInputs = with stdenv.lib; [ pycares typing ]
propagatedBuildInputs = with stdenv.lib; [ pycares ]
++ optional (pythonOlder "3.7") typing
++ optional (isPy27 || isPyPy) trollius;
checkPhase = ''