diff --git a/pkgs/development/python-modules/uiprotect/default.nix b/pkgs/development/python-modules/uiprotect/default.nix index 6580e40e92e3..bee77028970e 100644 --- a/pkgs/development/python-modules/uiprotect/default.nix +++ b/pkgs/development/python-modules/uiprotect/default.nix @@ -30,6 +30,7 @@ ffmpeg, pytest-asyncio, pytest-benchmark, + pytest-cov-stub, pytest-timeout, pytest-xdist, pytestCheckHook, @@ -37,7 +38,7 @@ buildPythonPackage rec { pname = "uiprotect"; - version = "6.0.1"; + version = "6.0.2"; pyproject = true; disabled = pythonOlder "3.10"; @@ -46,16 +47,15 @@ buildPythonPackage rec { owner = "uilibs"; repo = "uiprotect"; rev = "refs/tags/v${version}"; - hash = "sha256-2rkXaFzdIOCGF60k7TpqAqTSxFFhmqhY8yKm7cEvgkE="; + hash = "sha256-3Dmim+wSAhco3KvtbAT/f/feNriaI22m0ml4L9SJFPs="; }; - postPatch = '' - sed -i "/addopts =/d" pyproject.toml - ''; - build-system = [ poetry-core ]; - pythonRelaxDeps = [ "pydantic" ]; + pythonRelaxDeps = [ + "aiofiles" + "pydantic" + ]; dependencies = [ aiofiles @@ -81,6 +81,7 @@ buildPythonPackage rec { ffmpeg # Required for command ffprobe pytest-asyncio pytest-benchmark + pytest-cov-stub pytest-timeout pytest-xdist pytestCheckHook @@ -91,7 +92,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "uiprotect" ]; meta = with lib; { - description = "Python API for UniFi Protect (Unofficial"; + description = "Python API for UniFi Protect (Unofficial)"; homepage = "https://github.com/uilibs/uiprotect"; changelog = "https://github.com/uilibs/uiprotect/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit;