Unverified Commit 1264b312 authored by Nikolay Korotkiy's avatar Nikolay Korotkiy
Browse files

python3Packages.asyncua: fix build on darwin

parent bff379be
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, aiofiles
, aiosqlite
, buildPythonPackage
@@ -60,6 +61,17 @@ buildPythonPackage rec {
    "asyncua"
  ];

  disabledTests = lib.optionals stdenv.isDarwin [
    # Failed: DID NOT RAISE <class 'asyncio.exceptions.TimeoutError'>
    "test_publish"
    # OSError: [Errno 48] error while attempting to bind on address ('127.0.0.1',...
    "test_anonymous_rejection"
    "test_certificate_handling_success"
    "test_encrypted_private_key_handling_success"
    "test_encrypted_private_key_handling_success_with_cert_props"
    "test_encrypted_private_key_handling_failure"
  ];

  meta = with lib; {
    description = "OPC UA / IEC 62541 Client and Server for Python";
    homepage = "https://github.com/FreeOpcUa/opcua-asyncio";