From 989e727d9cbcf39fc367f1f4a1660f745fa1edbd Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Thu, 13 Jul 2023 01:02:53 -0700 Subject: [PATCH] python310Packages.pyserial-asyncio: enable on darwin --- pkgs/development/python-modules/pyserial-asyncio/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pyserial-asyncio/default.nix b/pkgs/development/python-modules/pyserial-asyncio/default.nix index 16e02df4798c..34bfacb9c0c5 100644 --- a/pkgs/development/python-modules/pyserial-asyncio/default.nix +++ b/pkgs/development/python-modules/pyserial-asyncio/default.nix @@ -20,6 +20,8 @@ buildPythonPackage rec { pyserial ]; + __darwinAllowLocalNetworking = true; + pythonImportsCheck = [ "serial_asyncio" ]; @@ -29,6 +31,5 @@ buildPythonPackage rec { homepage = "https://github.com/pyserial/pyserial-asyncio"; license = licenses.bsd3; maintainers = with maintainers; [ ]; - platforms = platforms.linux; }; }