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