Merge pull request #240785 from tjni/requests-unixsocket
python310Packages.requests-unixsocket: patch to make compatible with urllib3 2+
This commit is contained in:
commit
4e60bac8bd
1 changed files with 10 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, fetchpatch
|
||||||
, pbr
|
, pbr
|
||||||
, requests
|
, requests
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
@ -17,6 +18,15 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-KDBCg+qTV9Rf/1itWxHkdwjPv1gGgXqlmyo2Mijulx4=";
|
hash = "sha256-KDBCg+qTV9Rf/1itWxHkdwjPv1gGgXqlmyo2Mijulx4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# https://github.com/msabramo/requests-unixsocket/pull/69
|
||||||
|
(fetchpatch {
|
||||||
|
name = "urllib3-2-compatibility.patch";
|
||||||
|
url = "https://github.com/msabramo/requests-unixsocket/commit/39b9c64847a52ddc8c6d14ff414a6a7a3f6358d9.patch";
|
||||||
|
hash = "sha256-DFtjhk33JLCu7FW6XI7uf2klNmwzvh2QNwxUb4W223Q=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pbr
|
pbr
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue