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