Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mitmproxy = pkgs.stdenv.mkDerivation rec {
- name = "mitmproxy";
- version = "2.0.2";
- src = pkgs.fetchurl {
- url = "https://github.com/mitmproxy/mitmproxy/releases/download/v${version}/mitmproxy-${version}-linux.tar.gz";
- sha256 = "0ksp55pkifqykfc26pzjln16w5a9i95m4d1vflymrqkxls7qm8kd";
- };
- phases = [ "unpackPhase" "installPhase" ];
- installPhase = ''
- mkdir -p $out/bin
- cp mitmdump $out/bin
- cp mitmproxy $out/bin
- cp mitmweb $out/bin
- '';
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement