Merge pull request #190053 from anthonyroussel/fix-mitmproxy

This commit is contained in:
Sandro
2022-09-07 01:09:18 +02:00
committed by GitHub
@@ -1,6 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, buildPythonPackage
, pythonOlder
# Mitmproxy requirements
@@ -20,7 +20,6 @@
, passlib
, protobuf
, publicsuffix2
, pyasn1
, pyopenssl
, pyparsing
, pyperclip
@@ -32,8 +31,6 @@
, wsproto
, zstandard
# Additional check requirements
, beautifulsoup4
, glibcLocales
, hypothesis
, parver
, pytest-asyncio
@@ -55,6 +52,14 @@ buildPythonPackage rec {
sha256 = "sha256-nW/WfiY6uF67qNa95tvNvSv/alP2WmzTk34LEBma/04=";
};
patches = [
# Fix onboarding addon tests failing with Flask >= v2.2
(fetchpatch {
url = "https://github.com/mitmproxy/mitmproxy/commit/bc370276a19c1d1039e7a45ecdc23c362626c81a.patch";
hash = "sha256-Cp7RnYpZEuRhlWYOk8BOnAKBAUa7Vy296UmQi3/ufes=";
})
];
propagatedBuildInputs = [
setuptools
# setup.py