pythonPackages.mitmproxy: 0.14 -> 0.17.1

This commit is contained in:
Frederik Rietdijk 2016-10-05 13:40:51 +02:00
parent 9caf12c88e
commit cbc2327fab

View File

@ -13931,29 +13931,22 @@ in modules // {
mitmproxy = buildPythonPackage rec {
baseName = "mitmproxy";
name = "${baseName}-${version}";
version = "0.14";
version = "0.17.1";
src = pkgs.fetchFromGitHub {
owner = "mitmproxy";
repo = "mitmproxy";
rev = "v${version}";
sha256 = "1zxw4yviryy0v53vhccgqb7f5d3fga16dy9kp1xwp6b59w0fcc2g";
sha256 = "0a50mkvm3zf9cbs0pf6bwy00bhmy4d1l9as8c9m0bgrk6hq7h53p";
};
propagatedBuildInputs = with self; [
pyopenssl pyasn1 urwid pillow lxml flask protobuf netlib click
pyopenssl pyasn1 urwid pillow lxml flask protobuf click
ConfigArgParse pyperclip blinker construct pyparsing html2text tornado
];
doCheck = false;
postInstall = ''
for prog in "$out/bin/"*; do
wrapProgram "$prog" \
--prefix PYTHONPATH : "$PYTHONPATH"
done
'';
meta = {
description = ''Man-in-the-middle proxy'';
homepage = "http://mitmproxy.org/";