chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / al / altdns / package.nix
blob839173efa64d635929b1b663df601a6fa984ab79
1 { lib
2 , python3
3 , fetchFromGitHub
4 }:
6 python3.pkgs.buildPythonApplication {
7   pname = "altdns";
8   version = "1.0.2-unstable-2021-09-09";
9   pyproject = true;
11   src = fetchFromGitHub {
12     owner = "infosec-au";
13     repo = "altdns";
14     rev = "8c1de0fa8365153832bb58d74475caa15d2d077a";
15     hash = "sha256-ElY6AZ7IBnOh7sRWNSQNmq7AYGlnjvYRn8/U+29BwWA=";
16   };
18   prePatch = ''
19     substituteInPlace requirements.txt \
20       --replace-fail "argparse" ""
21     substituteInPlace setup.py \
22       --replace-fail "argparse" ""
23   '';
25   build-system = with python3.pkgs; [
26     setuptools
27   ];
29   dependencies = with python3.pkgs; [
30     dnspython
31     termcolor
32     tldextract
33   ];
35   postInstall = ''
36     cp $src/words.txt $out/
37   '';
39   # Project has no tests
40   doCheck = false;
42   pythonImportsCheck = [
43     "altdns"
44   ];
46   meta = with lib; {
47     description = "Generates permutations, alterations and mutations of subdomains and then resolves them";
48     homepage = "https://github.com/infosec-au/altdns";
49     license = licenses.asl20;
50     maintainers = with maintainers; [ octodi ];
51     mainProgram = "altdns";
52   };