1{ lib 2, asynctest 3, buildPythonPackage 4, fetchFromGitHub 5, pytestCheckHook 6, pythonOlder 7, httpx 8}: 9 10buildPythonPackage rec { 11 pname = "whodap"; 12 version = "0.1.6"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchFromGitHub { 18 owner = "pogzyb"; 19 repo = pname; 20 rev = "refs/tags/v${version}"; 21 hash = "sha256-gLA6tT6ZUMjb2ZF5t6DdI5nqiX2Uxatj3ThmQ+VZu9A="; 22 }; 23 24 propagatedBuildInputs = [ 25 httpx 26 ]; 27 28 checkInputs = [ 29 asynctest 30 pytestCheckHook 31 ]; 32 33 disabledTestPaths = [ 34 # Requires network access 35 "tests/test_client.py" 36 ]; 37 38 pythonImportsCheck = [ 39 "whodap" 40 ]; 41 42 meta = with lib; { 43 description = "Python RDAP utility for querying and parsing information about domain names"; 44 homepage = "https://github.com/pogzyb/whodap"; 45 license = with licenses; [ mit ]; 46 maintainers = with maintainers; [ fab ]; 47 }; 48}