Merge pull request #68782 from B4dM4n/portend-darwin

pythonPackages.portend: fix darwin build
This commit is contained in:
Daiderd Jordan 2019-09-20 22:05:39 +02:00 committed by GitHub
commit 1803573281
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,9 @@ buildPythonPackage rec {
py.test --deselect=test_portend.py::TestChecker::test_check_port_listening py.test --deselect=test_portend.py::TestChecker::test_check_port_listening
''; '';
# Some of the tests use localhost networking.
__darwinAllowLocalNetworking = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Monitor TCP ports for bound or unbound states"; description = "Monitor TCP ports for bound or unbound states";
homepage = https://github.com/jaraco/portend; homepage = https://github.com/jaraco/portend;