mitmproxy: 11.1.3 -> 12.0.0

Changelog: https://github.com/mitmproxy/mitmproxy/blob/v12.0.0/CHANGELOG.md

Changed files
+14 -16
pkgs
development
python-modules
mitmproxy
+14 -16
pkgs/development/python-modules/mitmproxy/default.nix
···
{
lib,
-
fetchFromGitHub,
-
buildPythonPackage,
-
# Mitmproxy requirements
aioquic,
argon2-cffi,
asgiref,
brotli,
+
buildPythonPackage,
certifi,
cryptography,
+
fetchFromGitHub,
flask,
h11,
h2,
hyperframe,
+
hypothesis,
kaitaistruct,
ldap3,
+
mitmproxy-linux,
mitmproxy-rs,
msgpack,
passlib,
···
pyopenssl,
pyparsing,
pyperclip,
+
pytest-asyncio,
+
pytest-timeout,
+
pytest-xdist,
+
pytestCheckHook,
+
requests,
ruamel-yaml,
setuptools,
sortedcontainers,
+
stdenv,
tornado,
urwid,
wsproto,
zstandard,
-
# Additional check requirements
-
hypothesis,
-
pytest-asyncio,
-
pytest-timeout,
-
pytest-xdist,
-
pytestCheckHook,
-
requests,
}:
buildPythonPackage rec {
pname = "mitmproxy";
-
version = "11.1.3";
+
version = "12.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mitmproxy";
repo = "mitmproxy";
tag = "v${version}";
-
hash = "sha256-gTeXxNQWVMQYiGdIyy7SS6JcuYG16KLnjxBBdjhi+lE=";
+
hash = "sha256-2dEoPgT8g59sLRV5gMPo7XII0XjTrn2cVdYetxDj/V0=";
};
pythonRelaxDeps = [
+
"h11" # https://github.com/NixOS/nixpkgs/pull/399393
"h2"
"passlib"
-
"protobuf"
-
"pyparsing"
-
"ruamel.yaml"
-
"urwid"
+
"typing-extensions" # https://github.com/NixOS/nixpkgs/pull/397082
];
build-system = [ setuptools ];