16 buildPythonPackage rec {
21 disabled = pythonOlder "3.9";
23 src = fetchFromGitHub {
27 hash = "sha256-Eb7De2AMxZi0Wu8dYA5wlX84BbF62L24vIuBEnvfxBU=";
30 build-system = [ hatchling ];
37 ] ++ python-socks.optional-dependencies.asyncio;
46 # Tests require network access
47 "test_pywhois_aio_get_hostname_from_ip"
48 "test_pywhois_get_hostname_from_ip"
49 "test_pywhois_aio_lookup_ipv4"
51 "test_aio_from_whois_cmd"
52 "test_aio_get_hostname_from_ip"
54 "test_get_hostname_from_ip"
55 "test_whois_query_run"
56 "test_whois_query_create_connection"
57 "test_whois_query_send_and_recv"
58 "test_input_parameters_for_domain_query"
59 "test__get_top_level_domain"
62 pythonImportsCheck = [ "asyncwhois" ];
65 description = "Python module for retrieving WHOIS information";
66 homepage = "https://github.com/pogzyb/asyncwhois";
67 changelog = "https://github.com/pogzyb/asyncwhois/releases/tag/v${version}";
68 license = licenses.asl20;
69 maintainers = with maintainers; [ fab ];