dput-ng: fix eval (#364540)
[NixPkgs.git] / pkgs / by-name / dn / dnsrecon / package.nix
blobd1992581b2cb82595bd0d98da0cb283200f37f8c
2   lib,
3   fetchFromGitHub,
4   python3,
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "dnsrecon";
9   version = "1.3.1";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "darkoperator";
14     repo = "dnsrecon";
15     rev = "refs/tags/${version}";
16     hash = "sha256-CW5HM8hATfhyQDbSAV+zSp8Gc/C5uy40yKMJAGawn0k=";
17   };
19   build-system = with python3.pkgs; [ setuptools ];
21   dependencies = with python3.pkgs; [
22     dnspython
23     loguru
24     lxml
25     netaddr
26     requests
27     setuptools
28   ];
30   # Tests require access to /etc/resolv.conf
31   doCheck = false;
33   pythonImportsCheck = [ "dnsrecon" ];
35   meta = with lib; {
36     description = "DNS Enumeration script";
37     homepage = "https://github.com/darkoperator/dnsrecon";
38     changelog = "https://github.com/darkoperator/dnsrecon/releases/tag/${version}";
39     license = licenses.gpl2Only;
40     maintainers = with maintainers; [
41       c0bw3b
42       fab
43     ];
44     mainProgram = "dnsrecon";
45   };