Merge pull request #37008 from knedlsepp/fix-pycurl-on-darwin

pythonPackages.pycurl: Fix darwin build
This commit is contained in:
Daiderd Jordan 2018-03-14 20:43:01 +01:00 committed by GitHub
commit f18a23acf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12952,8 +12952,10 @@ in {
buildInputs = with self; [ pkgs.curl pkgs.openssl.out ];
# error: invalid command 'test'
doCheck = false;
checkInputs = with self; [ bottle pytest nose ];
checkPhase = ''
py.test -k "not test_ssl_in_static_libs" tests
'';
preConfigure = ''
substituteInPlace setup.py --replace '--static-libs' '--libs'
@ -12963,7 +12965,6 @@ in {
meta = {
homepage = http://pycurl.sourceforge.net/;
description = "Python wrapper for libcurl";
platforms = platforms.linux;
};
});