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
34 lines
748 B
Nix
34 lines
748 B
Nix
{
|
|
buildPythonApplication,
|
|
fetchFromGitHub,
|
|
dnslib,
|
|
lib,
|
|
}:
|
|
|
|
buildPythonApplication {
|
|
pname = "dnschef";
|
|
version = "0.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "iphelix";
|
|
repo = "dnschef";
|
|
rev = "a395411ae1f5c262d0b80d06a45a445f696f3243";
|
|
sha256 = "0ll3hw6w5zhzyqc2p3c9443gcp12sx6ddybg5rjpl01dh3svrk1q";
|
|
};
|
|
|
|
format = "other";
|
|
installPhase = ''
|
|
install -D ./dnschef.py $out/bin/dnschef
|
|
'';
|
|
|
|
propagatedBuildInputs = [ dnslib ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/iphelix/dnschef";
|
|
description = "Highly configurable DNS proxy for penetration testers and malware analysts";
|
|
mainProgram = "dnschef";
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.gfrascadorio ];
|
|
};
|
|
}
|