python3Packages.pyunifiprotect: Fix version, fix tests

This commit is contained in:
Martin Weinelt 2023-01-03 22:47:03 +01:00
parent 915fd5f93c
commit 0cee035e07

View file

@ -10,6 +10,7 @@
, packaging
, pillow
, poetry-core
, py
, pydantic
, pyjwt
, pytest-aiohttp
@ -22,6 +23,7 @@
, pythonOlder
, pytz
, setuptools
, setuptools-scm
, termcolor
, typer
, ffmpeg
@ -46,8 +48,11 @@ buildPythonPackage rec {
--replace "--cov=pyunifiprotect --cov-append" ""
'';
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [
@ -74,6 +79,7 @@ buildPythonPackage rec {
checkInputs = [
ffmpeg # Required for command ffprobe
py
pytest-aiohttp
pytest-asyncio
pytest-benchmark