Files
nixpkgs/pkgs/by-name/al/altdns/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

50 lines
986 B
Nix

{
lib,
python3,
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication {
pname = "altdns";
version = "1.0.2-unstable-2021-09-09";
pyproject = true;
src = fetchFromGitHub {
owner = "infosec-au";
repo = "altdns";
rev = "8c1de0fa8365153832bb58d74475caa15d2d077a";
hash = "sha256-ElY6AZ7IBnOh7sRWNSQNmq7AYGlnjvYRn8/U+29BwWA=";
};
pythonRemoveDeps = [ "argparse" ];
build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
dnspython
termcolor
tldextract
];
postInstall = ''
cp $src/words.txt $out/
'';
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"altdns"
];
meta = with lib; {
description = "Generates permutations, alterations and mutations of subdomains and then resolves them";
homepage = "https://github.com/infosec-au/altdns";
license = licenses.asl20;
maintainers = with maintainers; [ octodi ];
mainProgram = "altdns";
};
}