{ lib, fetchFromGitHub, python3, }: python3.pkgs.buildPythonApplication rec { pname = "dnsrecon"; version = "1.5.1"; pyproject = true; src = fetchFromGitHub { owner = "darkoperator"; repo = "dnsrecon"; tag = version; hash = "sha256-RX7A/vF19wTcvm+kP4ynarzGY+pUIj84zQJIM3tO/2M="; }; pythonRelaxDeps = true; build-system = with python3.pkgs; [ setuptools ]; dependencies = with python3.pkgs; [ dnspython loguru httpx fastapi uvicorn slowapi stamina ujson lxml netaddr requests setuptools ]; # Tests require access to /etc/resolv.conf doCheck = false; pythonImportsCheck = [ "dnsrecon" ]; meta = { description = "DNS Enumeration script"; homepage = "https://github.com/darkoperator/dnsrecon"; changelog = "https://github.com/darkoperator/dnsrecon/releases/tag/${src.tag}"; license = lib.licenses.gpl2Only; maintainers = with lib.maintainers; [ c0bw3b fab ]; mainProgram = "dnsrecon"; }; }