python313Packages.pyais: enable darwin support (#445559)

This commit is contained in:
Fabian Affolter
2025-09-24 15:15:03 +00:00
committed by GitHub
@@ -1,5 +1,6 @@
{
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";