diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 8c588954a6a1..a602732ce4eb 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -9418,6 +9418,15 @@ githubId = 10353047; name = "Tobias Happ"; }; + gesperon = { + email = "gesperon@mac.com"; + github = "gesperon"; + githubId = 117491118; + name = "Gabor Esperon"; + keys = [ + { fingerprint = "8102 3AF7 84FC 4DA7 B9D7 ECFF A0AF 4AD2 D44C C6FE"; } + ]; + }; getchoo = { name = "Seth Flynn"; email = "getchoo@tuta.io"; diff --git a/pkgs/development/python-modules/aioice/default.nix b/pkgs/development/python-modules/aioice/default.nix new file mode 100644 index 000000000000..da27c4b35d3d --- /dev/null +++ b/pkgs/development/python-modules/aioice/default.nix @@ -0,0 +1,51 @@ +{ + 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f601251a2e3a..c43e108a436b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -348,6 +348,8 @@ self: super: with self; { aiohwenergy = callPackage ../development/python-modules/aiohwenergy { }; + aioice = callPackage ../development/python-modules/aioice { }; + aioimaplib = callPackage ../development/python-modules/aioimaplib { }; aioimmich = callPackage ../development/python-modules/aioimmich { };