14 buildPythonPackage rec {
15 pname = "aiodiscover";
17 format = "setuptools";
19 disabled = pythonOlder "3.7";
21 src = fetchFromGitHub {
24 rev = "refs/tags/v${version}";
25 hash = "sha256-rFypv0gCj+Jskk+dlRNJ2ufj2sDud7AuJzj3cl4bB4Y=";
28 propagatedBuildInputs = [
37 substituteInPlace setup.py \
38 --replace '"pytest-runner>=5.2",' ""
47 # Tests require access to /etc/resolv.conf
48 "test_async_discover_hosts"
51 pythonImportsCheck = [
56 description = "Python module to discover hosts via ARP and PTR lookup";
57 homepage = "https://github.com/bdraco/aiodiscover";
58 changelog = "https://github.com/bdraco/aiodiscover/releases/tag/v${version}";
59 license = with licenses; [ asl20 ];
60 maintainers = with maintainers; [ fab ];