Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
55 lines
1.0 KiB
Nix
55 lines
1.0 KiB
Nix
{
|
|
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";
|
|
};
|
|
}
|