mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
1fced86a4c
Diff: darkoperator/dnsrecon@refs/tasgs/1.1.5...1.2.0 Changelog: https://github.com/darkoperator/dnsrecon/releases/tag/1.2.0
45 lines
930 B
Nix
45 lines
930 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
python3,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "dnsrecon";
|
|
version = "1.2.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "darkoperator";
|
|
repo = "dnsrecon";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-XboRxq3ZDIDtuECVSnncQ2Pa8YAvva4KUNm0O5ED6rc=";
|
|
};
|
|
|
|
build-system = with python3.pkgs; [ setuptools ];
|
|
|
|
dependencies = with python3.pkgs; [
|
|
dnspython
|
|
netaddr
|
|
lxml
|
|
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";
|
|
};
|
|
}
|