12 buildPythonPackage rec {
13 pname = "aiodiscover";
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
21 sha256 = "sha256-TmWl5d5HwyqWPUjwtEvc5FzVfxV/K1pekljcMkGN0Ag=";
24 propagatedBuildInputs = [
31 substituteInPlace setup.py --replace '"pytest-runner>=5.2",' ""
44 # Tests require access to /etc/resolv.conf
45 "test_async_discover_hosts"
48 pythonImportsCheck = ["aiodiscover"];
51 description = "Python module to discover hosts via ARP and PTR lookup";
52 homepage = "https://github.com/bdraco/aiodiscover";
53 license = with licenses; [ asl20 ];
54 maintainers = with maintainers; [ fab ];