We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 5b92a39 commit 99499a5Copy full SHA for 99499a5
pkgs/tools/networking/mitmproxy/default.nix
@@ -1,4 +1,4 @@
1
-{ stdenv, fetchurl, fetchFromGitHub, python3Packages }:
+{ stdenv, fetchpatch, fetchFromGitHub, python3Packages }:
2
3
python3Packages.buildPythonPackage rec {
4
baseName = "mitmproxy";
@@ -15,9 +15,9 @@ python3Packages.buildPythonPackage rec {
15
patches = [
16
# Bump pyopenssl dependency
17
# https://github.com/mitmproxy/mitmproxy/pull/2252
18
- (fetchurl {
+ (fetchpatch {
19
url = "https://patch-diff.githubusercontent.com/raw/mitmproxy/mitmproxy/pull/2252.patch";
20
- sha256 = "0s3a6lf0wjnxi1r70qlhh0siaxhk5j2cysnv4xfkji3f2v7hhri4";
+ sha256 = "1smld21df79249qbh412w8gi2agcf4zjhxnlawy19yjl1fk2h67c";
21
})
22
];
23
0 commit comments