mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.pycurl: add support for curl 8.21.0 websockets
Backport of https://github.com/pycurl/pycurl/pull/1028 Seems like a new release of pycurl is also imminent, which means we may be able to drop this patch soon. Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
339d13830e
commit
d97307b76f
1 changed files with 9 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
|||
buildPythonPackage,
|
||||
isPyPy,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
curl,
|
||||
openssl,
|
||||
bottle,
|
||||
|
|
@ -29,6 +30,14 @@ buildPythonPackage rec {
|
|||
hash = "sha256-F40bJ7TYFK2dVkDJGGxl7XV46fKmjwvUYYulcwGL6hk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch2 {
|
||||
name = "pycurl-curl-8.21.0-ws-support.patch";
|
||||
url = "https://github.com/pycurl/pycurl/commit/c78fd8aba82e2f8037275063138eaa7706c111af.diff?full_index=1";
|
||||
hash = "sha256-EBXgGiaMtXTsgJOOrzzZFJ7Q/ofAlc4zuipoEpfdFqU=";
|
||||
})
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail '--static-libs' '--libs'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue