Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677{ lib, buildPythonPackage, setuptools, aioice, av, cffi, cryptography, google-crc32c, pyee, pylibsrtp, pyopenssl, libopus, libvpx, ifaddr, dnspython, fetchFromGitHub, pytestCheckHook, numpy,}:
buildPythonPackage rec { pname = "aiortc"; version = "1.15.0"; pyproject = true;
src = fetchFromGitHub { owner = "aiortc"; repo = "aiortc"; tag = version; hash = "sha256-XuqitZv0VJmbcvLZK3tLsN0TLfjujL35mbcyBche5SQ="; };
build-system = [ setuptools ];
dependencies = [ aioice av cffi cryptography google-crc32c pyee pylibsrtp pyopenssl libopus libvpx ifaddr dnspython ];
pythonRelaxDeps = [ "av" ];
nativeCheckInputs = [ numpy pytestCheckHook ]; disabledTestPaths = [ "tests/test_ortc.py" # hangs on: aiortc.rtcicetransport:rtcicetransport.py:365 RTCIceTransport(controlled) - new -> checking "tests/test_rtcicetransport.py" # hangs on: aiortc.rtcicetransport:rtcicetransport.py:365 RTCIceTransport(controlled) - new -> checking "tests/test_rtcpeerconnection.py" # fails "tests/test_contrib_signaling.py" # fails on darwin ]; doCheck = true; pythonImportsCheck = [ "aiortc" ];
meta = { description = "WebRTC and ORTC implementation for Python using asyncio"; homepage = "https://github.com/aiortc/aiortc"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ gesperon ]; };}