From 19c0dbe2c757282f1df17f829e54cd1fc18cfa1f Mon Sep 17 00:00:00 2001 From: K900 Date: Tue, 11 Jun 2024 21:17:34 +0300 Subject: [PATCH] python311Packages.requests-unixsocket: cherry-pick fix for Requests 2.32 --- .../python-modules/requests-unixsocket/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/requests-unixsocket/default.nix b/pkgs/development/python-modules/requests-unixsocket/default.nix index fd39f2c23cd48..12708f749bbef 100644 --- a/pkgs/development/python-modules/requests-unixsocket/default.nix +++ b/pkgs/development/python-modules/requests-unixsocket/default.nix @@ -26,6 +26,12 @@ buildPythonPackage rec { url = "https://github.com/msabramo/requests-unixsocket/commit/39b9c64847a52ddc8c6d14ff414a6a7a3f6358d9.patch"; hash = "sha256-DFtjhk33JLCu7FW6XI7uf2klNmwzvh2QNwxUb4W223Q="; }) + # https://github.com/msabramo/requests-unixsocket/pull/72 + (fetchpatch { + name = "requests-2.32-compatibility.patch"; + url = "https://github.com/msabramo/requests-unixsocket/commit/8b02ed531d8def03b4cf767e8a925be09db43dff.patch"; + hash = "sha256-rCmdCPGB2gf+aY/AikSCPuzGCYf1GFWcUKraqgS26vc="; + }) ]; nativeBuildInputs = [ pbr ];