python3Packages.blasthttp: add darwin support
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
cargo,
|
||||
fetchPypi,
|
||||
@@ -34,6 +35,8 @@ buildPythonPackage (finalAttrs: {
|
||||
rm .cargo/config.toml
|
||||
'';
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
env = {
|
||||
OPENSSL_NO_VENDOR = "1";
|
||||
};
|
||||
@@ -56,6 +59,16 @@ buildPythonPackage (finalAttrs: {
|
||||
|
||||
pythonImportsCheck = [ "blasthttp" ];
|
||||
|
||||
disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
"tests/python/test_ssl_verify.py"
|
||||
"tests/python/test_response_api.py"
|
||||
];
|
||||
|
||||
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
"test_redirect_onto_proxied_host_reevaluates_no_proxy"
|
||||
"test_redirect_onto_no_proxy_host_reevaluates_to_direct"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user