python3Packages.pyunifiprotect: Fix version, fix tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user