18 buildPythonPackage rec {
19 pname = "aiodiscover";
23 disabled = pythonOlder "3.7";
25 src = fetchFromGitHub {
28 rev = "refs/tags/v${version}";
29 hash = "sha256-+DcROb6jR0veD3oSKgyJHUi1VtCT54yBKvVqir5y+R4=";
32 nativeBuildInputs = [ setuptools ];
34 propagatedBuildInputs = [
50 # Tests require access to /etc/resolv.conf
51 "test_async_discover_hosts"
54 pythonImportsCheck = [ "aiodiscover" ];
57 description = "Python module to discover hosts via ARP and PTR lookup";
58 homepage = "https://github.com/bdraco/aiodiscover";
59 changelog = "https://github.com/bdraco/aiodiscover/releases/tag/v${version}";
60 license = with licenses; [ asl20 ];
61 maintainers = with maintainers; [ fab ];