mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-08 14:03:29 +00:00
47 lines
954 B
Nix
47 lines
954 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
python3,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "dnsrecon";
|
|
version = "1.3.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "darkoperator";
|
|
repo = "dnsrecon";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-h87sNorCKxUmXZAbF7FaOqruUCv84FepFwKMYrIl70M=";
|
|
};
|
|
|
|
build-system = with python3.pkgs; [ setuptools ];
|
|
|
|
dependencies = with python3.pkgs; [
|
|
dnspython
|
|
loguru
|
|
lxml
|
|
netaddr
|
|
requests
|
|
setuptools
|
|
];
|
|
|
|
# Tests require access to /etc/resolv.conf
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "dnsrecon" ];
|
|
|
|
meta = with lib; {
|
|
description = "DNS Enumeration script";
|
|
homepage = "https://github.com/darkoperator/dnsrecon";
|
|
changelog = "https://github.com/darkoperator/dnsrecon/releases/tag/${version}";
|
|
license = licenses.gpl2Only;
|
|
maintainers = with maintainers; [
|
|
c0bw3b
|
|
fab
|
|
];
|
|
mainProgram = "dnsrecon";
|
|
};
|
|
}
|