Merge pull request #205610 from fabaff/pycares-bump

python310Packages.pycares: 4.2.2 -> 4.3.0

authored by Fabian Affolter and committed by GitHub a6737a24 457ccfb1

+16 -3
+16 -3
pkgs/development/python-modules/pycares/default.nix
··· 1 1 { lib 2 + , aiodns 2 3 , buildPythonPackage 3 4 , c-ares 4 5 , cffi 5 6 , fetchPypi 6 7 , idna 8 + , pythonOlder 9 + , tornado 7 10 }: 8 11 9 12 buildPythonPackage rec { 10 13 pname = "pycares"; 11 - version = "4.2.2"; 14 + version = "4.3.0"; 15 + format = "setuptools"; 16 + 17 + disabled = pythonOlder "3.7"; 12 18 13 19 src = fetchPypi { 14 20 inherit pname version; 15 - sha256 = "sha256-4fV6gAQ3AIBpS9b7lpof/JFxpZxoJNVPeRwbLk0pg4U="; 21 + hash = "sha256-xUJpb22sl46dmRkjhHRaZfgKfZRQUBFR5KdWPgYBDUU="; 16 22 }; 17 23 18 24 buildInputs = [ ··· 31 37 # Requires network access 32 38 doCheck = false; 33 39 34 - pythonImportsCheck = [ "pycares" ]; 40 + passthru.tests = { 41 + inherit aiodns tornado; 42 + }; 43 + 44 + pythonImportsCheck = [ 45 + "pycares" 46 + ]; 35 47 36 48 meta = with lib; { 37 49 description = "Python interface for c-ares"; 38 50 homepage = "https://github.com/saghul/pycares"; 51 + changelog = "https://github.com/saghul/pycares/releases/tag/pycares-${version}"; 39 52 license = licenses.mit; 40 53 maintainers = with maintainers; [ fab ]; 41 54 };