mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
mitmproxy: add patch to bump pyopenssl dependency
This commit is contained in:
parent
3678981f9f
commit
e4dd6377a5
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, python3Packages }:
|
{ stdenv, fetchurl, fetchFromGitHub, python3Packages }:
|
||||||
|
|
||||||
python3Packages.buildPythonPackage rec {
|
python3Packages.buildPythonPackage rec {
|
||||||
baseName = "mitmproxy";
|
baseName = "mitmproxy";
|
||||||
|
@ -12,6 +12,15 @@ python3Packages.buildPythonPackage rec {
|
||||||
sha256 = "1x1a28al5clpfd69rjcpw26gjjnpsm1vfl4scrwpdd1jhkw044h9";
|
sha256 = "1x1a28al5clpfd69rjcpw26gjjnpsm1vfl4scrwpdd1jhkw044h9";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Bump pyopenssl dependency
|
||||||
|
# https://github.com/mitmproxy/mitmproxy/pull/2252
|
||||||
|
(fetchurl {
|
||||||
|
url = "https://patch-diff.githubusercontent.com/raw/mitmproxy/mitmproxy/pull/2252.patch";
|
||||||
|
sha256 = "0s3a6lf0wjnxi1r70qlhh0siaxhk5j2cysnv4xfkji3f2v7hhri4";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
blinker click certifi construct cryptography
|
blinker click certifi construct cryptography
|
||||||
cssutils editorconfig h2 html2text hyperframe
|
cssutils editorconfig h2 html2text hyperframe
|
||||||
|
|
Loading…
Reference in a new issue