Merge pull request #37008 from knedlsepp/fix-pycurl-on-darwin
pythonPackages.pycurl: Fix darwin build
This commit is contained in:
commit
f18a23acf3
@ -12952,8 +12952,10 @@ in {
|
|||||||
|
|
||||||
buildInputs = with self; [ pkgs.curl pkgs.openssl.out ];
|
buildInputs = with self; [ pkgs.curl pkgs.openssl.out ];
|
||||||
|
|
||||||
# error: invalid command 'test'
|
checkInputs = with self; [ bottle pytest nose ];
|
||||||
doCheck = false;
|
checkPhase = ''
|
||||||
|
py.test -k "not test_ssl_in_static_libs" tests
|
||||||
|
'';
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace setup.py --replace '--static-libs' '--libs'
|
substituteInPlace setup.py --replace '--static-libs' '--libs'
|
||||||
@ -12963,7 +12965,6 @@ in {
|
|||||||
meta = {
|
meta = {
|
||||||
homepage = http://pycurl.sourceforge.net/;
|
homepage = http://pycurl.sourceforge.net/;
|
||||||
description = "Python wrapper for libcurl";
|
description = "Python wrapper for libcurl";
|
||||||
platforms = platforms.linux;
|
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user