12 buildPythonPackage rec {
13 pname = "requests-unixsocket";
15 format = "setuptools";
18 inherit pname version;
19 hash = "sha256-KDBCg+qTV9Rf/1itWxHkdwjPv1gGgXqlmyo2Mijulx4=";
23 # https://github.com/msabramo/requests-unixsocket/pull/69
25 name = "urllib3-2-compatibility.patch";
26 url = "https://github.com/msabramo/requests-unixsocket/commit/39b9c64847a52ddc8c6d14ff414a6a7a3f6358d9.patch";
27 hash = "sha256-DFtjhk33JLCu7FW6XI7uf2klNmwzvh2QNwxUb4W223Q=";
29 # https://github.com/msabramo/requests-unixsocket/pull/72
31 name = "requests-2.32-compatibility.patch";
32 url = "https://github.com/msabramo/requests-unixsocket/commit/8b02ed531d8def03b4cf767e8a925be09db43dff.patch";
33 hash = "sha256-rCmdCPGB2gf+aY/AikSCPuzGCYf1GFWcUKraqgS26vc=";
37 nativeBuildInputs = [ pbr ];
39 propagatedBuildInputs = [ requests ];
46 pythonImportsCheck = [ "requests_unixsocket" ];
49 description = "Use requests to talk HTTP via a UNIX domain socket";
50 homepage = "https://github.com/msabramo/requests-unixsocket";
51 license = licenses.asl20;
52 maintainers = with maintainers; [ catern ];