depot/third_party/nixpkgs/pkgs/tools/networking/dnschef/default.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

27 lines
714 B
Nix

{ buildPythonApplication, fetchFromGitHub, dnslib, lib }:
buildPythonApplication rec {
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";
license = licenses.bsd3;
maintainers = [ maintainers.gfrascadorio ];
};
}