python3Packages.pycares: 3.1.1 -> 4.0.0

This commit is contained in:
Fabian Affolter 2021-05-16 16:54:31 +02:00
parent 89f90fda19
commit 9f73d45e2e

View File

@ -1,35 +1,38 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi
, python
, c-ares , c-ares
, cffi , cffi
, fetchPypi
, idna
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pycares"; pname = "pycares";
version = "3.1.1"; version = "4.0.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "18dfd4fd300f570d6c4536c1d987b7b7673b2a9d14346592c5d6ed716df0d104"; sha256 = "sha256-0BVPxXU7CIdY++ybwTfhsku4T8DGoJclyLrCWjQjEc0=";
}; };
buildInputs = [ c-ares ]; buildInputs = [
c-ares
];
propagatedBuildInputs = [ cffi ]; propagatedBuildInputs = [
cffi
idna
];
checkPhase = '' # Requires network access
${python.interpreter} tests/tests.py
'';
# requires network access
doCheck = false; doCheck = false;
meta = with lib; { pythonImportsCheck = [ "pycares" ];
homepage = "https://github.com/saghul/pycares";
description = "Interface for c-ares";
license = licenses.mit;
};
meta = with lib; {
description = "Python interface for c-ares";
homepage = "https://github.com/saghul/pycares";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
} }