Merge pull request #171098 from trofi/fix-pycurl
python3Packages.pycurl: pull fix for curl 7.83.0
This commit is contained in:
commit
82f32a712d
1 changed files with 11 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
, buildPythonPackage
|
||||
, isPyPy
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, pythonOlder
|
||||
, curl
|
||||
, openssl
|
||||
|
@ -20,6 +21,16 @@ buildPythonPackage rec {
|
|||
sha256 = "sha256-qGOtGP9Hj1VFkkBXiHza5CLhsnRuQWdGFfaHSY6luIo=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Pull upstream patch for curl-3.83:
|
||||
# https://github.com/pycurl/pycurl/pull/753
|
||||
(fetchpatch {
|
||||
name = "curl-3.83.patch";
|
||||
url = "https://github.com/pycurl/pycurl/commit/d47c68b1364f8a1a45ab8c584c291d44b762f7b1.patch";
|
||||
sha256 = "sha256-/lGq7O7ZyytzBAxWJPigcWdvypM7OHLBcp9ItmX7z1g=";
|
||||
})
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace setup.py --replace '--static-libs' '--libs'
|
||||
export PYCURL_SSL_LIBRARY=openssl
|
||||
|
|
Loading…
Reference in a new issue