summary refs log tree commit diff
path: root/pkgs/development/python-modules/cheroot
diff options
context:
space:
mode:
authorFabian Möller <fabianm88@gmail.com>2019-09-16 01:37:19 +0200
committerFabian Möller <fabianm88@gmail.com>2019-09-16 01:38:32 +0200
commit5347a8038af081a52e485bcefe850243850ea9e8 (patch)
treeb0bf000831fe36c50bcd2ac5c5ce52786ed6dd0f /pkgs/development/python-modules/cheroot
parentd8f5ad99484a0a043979a51a2376403aa2f32d6f (diff)
downloadnixpkgs-5347a8038af081a52e485bcefe850243850ea9e8.tar
nixpkgs-5347a8038af081a52e485bcefe850243850ea9e8.tar.gz
nixpkgs-5347a8038af081a52e485bcefe850243850ea9e8.tar.bz2
nixpkgs-5347a8038af081a52e485bcefe850243850ea9e8.tar.lz
nixpkgs-5347a8038af081a52e485bcefe850243850ea9e8.tar.xz
nixpkgs-5347a8038af081a52e485bcefe850243850ea9e8.tar.zst
nixpkgs-5347a8038af081a52e485bcefe850243850ea9e8.zip
cheroot: fix darwin sandbox build
Diffstat (limited to 'pkgs/development/python-modules/cheroot')
-rw-r--r--pkgs/development/python-modules/cheroot/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/cheroot/default.nix b/pkgs/development/python-modules/cheroot/default.nix
index 591bb0fbe37..9b3050942a8 100644
--- a/pkgs/development/python-modules/cheroot/default.nix
+++ b/pkgs/development/python-modules/cheroot/default.nix
@@ -34,6 +34,9 @@ buildPythonPackage rec {
     pytest -k 'not tls' ${lib.optionalString stdenv.isDarwin "--deselect=cheroot/test/test_ssl.py::test_http_over_https_error --deselect=cheroot/test/test_server.py::test_bind_addr_unix"}
   '';
 
+  # Some of the tests use localhost networking.
+  __darwinAllowLocalNetworking = true;
+
   meta = with lib; {
     description = "High-performance, pure-Python HTTP";
     homepage = https://github.com/cherrypy/cheroot;