mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-15 09:23:37 +00:00
python3Packages.pyunifiprotect: Fix version, fix tests
This commit is contained in:
parent
915fd5f93c
commit
0cee035e07
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user