python310Packages.pyunifiprotect: 4.2.0 -> 4.3.3

This commit is contained in:
Fabian Affolter 2022-09-25 16:49:19 +02:00
parent 4bb26cf7a1
commit 3c009ec998

View file

@ -3,6 +3,7 @@
, aiohttp , aiohttp
, aioshutil , aioshutil
, buildPythonPackage , buildPythonPackage
, dateparser
, fetchFromGitHub , fetchFromGitHub
, ipython , ipython
, orjson , orjson
@ -27,7 +28,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyunifiprotect"; pname = "pyunifiprotect";
version = "4.2.0"; version = "4.3.3";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -36,13 +37,12 @@ buildPythonPackage rec {
owner = "briis"; owner = "briis";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-DBOPHeSEdM6cev2BZs1AwXmzNPVsekNklu9c+KhECiI="; hash = "sha256-77vBKca4S0XEa5O4ntuBW8uEwVig7IBH6BX3QEmvHWc=";
}; };
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace "--cov=pyunifiprotect --cov-append" "" --replace "--cov=pyunifiprotect --cov-append" "" \
substituteInPlace setup.cfg \
--replace "pydantic!=1.9.1" "pydantic" --replace "pydantic!=1.9.1" "pydantic"
''; '';
@ -50,6 +50,7 @@ buildPythonPackage rec {
aiofiles aiofiles
aiohttp aiohttp
aioshutil aioshutil
dateparser
orjson orjson
packaging packaging
pillow pillow
@ -57,7 +58,7 @@ buildPythonPackage rec {
pyjwt pyjwt
pytz pytz
typer typer
]; ] ++ typer.optional-dependencies.all;
passthru.optional-dependencies = { passthru.optional-dependencies = {
shell = [ shell = [