Skip to content

Commit

Permalink
Merge pull request #190053 from anthonyroussel/fix-mitmproxy
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Sep 6, 2022
2 parents 01253f1 + d565623 commit 7d9aaa6
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions pkgs/development/python-modules/mitmproxy/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, buildPythonPackage
, pythonOlder
# Mitmproxy requirements
Expand All @@ -20,7 +20,6 @@
, passlib
, protobuf
, publicsuffix2
, pyasn1
, pyopenssl
, pyparsing
, pyperclip
Expand All @@ -32,8 +31,6 @@
, wsproto
, zstandard
# Additional check requirements
, beautifulsoup4
, glibcLocales
, hypothesis
, parver
, pytest-asyncio
Expand All @@ -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
Expand Down

0 comments on commit 7d9aaa6

Please sign in to comment.