Commit 51171d5e authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python313Packages.pyais: enable darwin support

parent 803b1683
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  attrs,
  bitarray,
  buildPythonPackage,
@@ -23,6 +24,8 @@ buildPythonPackage rec {
    hash = "sha256-CLsUVARpyxOshvrHY+NoVi0HSvn1R02jDnMqn0sRGgM=";
  };

  __darwinAllowLocalNetworking = true;

  build-system = [ setuptools ];

  dependencies = [
@@ -39,6 +42,11 @@ buildPythonPackage rec {
    "tests/test_examples.py"
  ];

  disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
    # OSError: [Errno 48] Address already in use
    "test_full_message_flow"
  ];

  meta = with lib; {
    description = "Module for decoding and encoding AIS messages (AIVDM/AIVDO)";
    homepage = "https://github.com/M0r13n/pyais";