at 22.05-pre 27 lines 714 B view raw
1{ buildPythonApplication, fetchFromGitHub, dnslib, lib }: 2 3buildPythonApplication rec { 4 pname = "dnschef"; 5 version = "0.4"; 6 7 src = fetchFromGitHub { 8 owner = "iphelix"; 9 repo = "dnschef"; 10 rev = "a395411ae1f5c262d0b80d06a45a445f696f3243"; 11 sha256 = "0ll3hw6w5zhzyqc2p3c9443gcp12sx6ddybg5rjpl01dh3svrk1q"; 12 }; 13 14 format = "other"; 15 installPhase = '' 16 install -D ./dnschef.py $out/bin/dnschef 17 ''; 18 19 propagatedBuildInputs = [ dnslib ]; 20 21 meta = with lib; { 22 homepage = "https://github.com/iphelix/dnschef"; 23 description = "Highly configurable DNS proxy for penetration testers and malware analysts"; 24 license = licenses.bsd3; 25 maintainers = [ maintainers.gfrascadorio ]; 26 }; 27}