Skip to content

Commit e4dd637

Browse files
committedJul 10, 2017
mitmproxy: add patch to bump pyopenssl dependency
1 parent 3678981 commit e4dd637

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed
 

‎pkgs/tools/networking/mitmproxy/default.nix

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ stdenv, fetchFromGitHub, python3Packages }:
1+
{ stdenv, fetchurl, fetchFromGitHub, python3Packages }:
22

33
python3Packages.buildPythonPackage rec {
44
baseName = "mitmproxy";
@@ -12,6 +12,15 @@ python3Packages.buildPythonPackage rec {
1212
sha256 = "1x1a28al5clpfd69rjcpw26gjjnpsm1vfl4scrwpdd1jhkw044h9";
1313
};
1414

15+
patches = [
16+
# Bump pyopenssl dependency
17+
# https://github.com/mitmproxy/mitmproxy/pull/2252
18+
(fetchurl {
19+
url = "https://patch-diff.githubusercontent.com/raw/mitmproxy/mitmproxy/pull/2252.patch";
20+
sha256 = "0s3a6lf0wjnxi1r70qlhh0siaxhk5j2cysnv4xfkji3f2v7hhri4";
21+
})
22+
];
23+
1524
propagatedBuildInputs = with python3Packages; [
1625
blinker click certifi construct cryptography
1726
cssutils editorconfig h2 html2text hyperframe

0 commit comments

Comments
 (0)