Merge pull request #299735 from fabaff/pyunifiprotect-bump

python311Packages.pyunifiprotect: 5.0.2 -> 5.1.1
This commit is contained in:
Fabian Affolter 2024-03-28 19:00:32 +01:00 committed by GitHub
commit a2cecca47b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,6 +13,7 @@
, orjson , orjson
, packaging , packaging
, pillow , pillow
, platformdirs
, poetry-core , poetry-core
, py , py
, pydantic , pydantic
@ -32,7 +33,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyunifiprotect"; pname = "pyunifiprotect";
version = "5.0.2"; version = "5.1.1";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -41,22 +42,22 @@ buildPythonPackage rec {
owner = "briis"; owner = "briis";
repo = "pyunifiprotect"; repo = "pyunifiprotect";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-bZjfpatw4lcOgMCqung/DMfRijxwtuIht6QusIYaCQ0="; hash = "sha256-7D6/mIU3M4dfIa+lCgcc3APKVPCsZei+4Er+sxIxcHo=";
}; };
env.SETUPTOOLS_SCM_PRETEND_VERSION = version; env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace "--strict-markers -ra -Wd --ignore=.* --no-cov-on-fail --cov=pyunifiprotect --cov-append --maxfail=10 -n=auto" "" --replace-fail "--strict-markers -ra -Wd --ignore=.* --no-cov-on-fail --cov=pyunifiprotect --cov-append --maxfail=10 -n=auto" ""
''; '';
nativeBuildInputs = [ build-system = [
hatch-vcs hatch-vcs
hatchling hatchling
]; ];
propagatedBuildInputs = [ dependencies = [
aiofiles aiofiles
aiohttp aiohttp
aioshutil aioshutil
@ -64,6 +65,7 @@ buildPythonPackage rec {
orjson orjson
packaging packaging
pillow pillow
platformdirs
pydantic pydantic
pyjwt pyjwt
pytz pytz