Files
nixpkgs/pkgs/development/python-modules/aioice/default.nix
T
2025-11-23 13:03:11 +01:00

52 lines
957 B
Nix

{
lib,
buildPythonPackage,
setuptools,
dnspython,
ifaddr,
fetchFromGitHub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "aioice";
version = "0.10.1";
pyproject = true;
src = fetchFromGitHub {
owner = "aiortc";
repo = "aioice";
tag = version;
hash = "sha256-KFYPzGPm+d1QrFAW9OhTDxroV/MnFusmfy5qcYCfDiM=";
};
build-system = [
setuptools
];
dependencies = [
dnspython
ifaddr
];
nativeCheckInputs = [ pytestCheckHook ];
disabledTestPaths = [
# Network tests failing
"tests/test_ice.py"
"tests/test_mdns.py"
"tests/test_turn.py"
"tests/test_ice_trickle.py"
];
doCheck = true;
pythonImportsCheck = [
"aioice"
];
meta = {
description = "Asyncio-based Interactive Connectivity Establishment (RFC 5245)";
homepage = "https://github.com/aiortc/aioice";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ gesperon ];
};
}