Merge pull request #176226 from r-ryantm/auto-update/python3.10-pyunifiprotect

python310Packages.pyunifiprotect: 3.7.0 -> 3.8.0

authored by Martin Weinelt and committed by GitHub 0fb2b1c7 81128707

+13 -7
+13 -7
pkgs/development/python-modules/pyunifiprotect/default.nix
··· 3 , aioshutil 4 , buildPythonPackage 5 , fetchFromGitHub 6 , packaging 7 , pillow 8 , poetry-core ··· 17 , python-dotenv 18 , pythonOlder 19 , pytz 20 , typer 21 }: 22 23 buildPythonPackage rec { 24 pname = "pyunifiprotect"; 25 - version = "3.7.0"; 26 format = "pyproject"; 27 28 disabled = pythonOlder "3.9"; ··· 30 src = fetchFromGitHub { 31 owner = "briis"; 32 repo = pname; 33 - rev = "v${version}"; 34 - hash = "sha256-0adbUKTkbgA4pKrIVFGowD4Wf8brjfkLpfCT/+Mw6vs="; 35 }; 36 37 propagatedBuildInputs = [ ··· 41 pillow 42 pydantic 43 pyjwt 44 - python-dotenv 45 pytz 46 typer 47 ]; 48 49 checkInputs = [ 50 pytest-aiohttp 51 pytest-asyncio ··· 56 ]; 57 58 postPatch = '' 59 - # https://github.com/briis/pyunifiprotect/pull/176 60 - substituteInPlace setup.cfg \ 61 - --replace "asyncio" "aiohttp" 62 substituteInPlace pyproject.toml \ 63 --replace "--cov=pyunifiprotect --cov-append" "" 64 '';
··· 3 , aioshutil 4 , buildPythonPackage 5 , fetchFromGitHub 6 + , ipython 7 , packaging 8 , pillow 9 , poetry-core ··· 18 , python-dotenv 19 , pythonOlder 20 , pytz 21 + , termcolor 22 , typer 23 }: 24 25 buildPythonPackage rec { 26 pname = "pyunifiprotect"; 27 + version = "3.8.0"; 28 format = "pyproject"; 29 30 disabled = pythonOlder "3.9"; ··· 32 src = fetchFromGitHub { 33 owner = "briis"; 34 repo = pname; 35 + rev = "refs/tags/v${version}"; 36 + hash = "sha256-YFdGWGm+DUi/0l9YBliQH1VgpYEVcHVgLirJTrNmNP4="; 37 }; 38 39 propagatedBuildInputs = [ ··· 43 pillow 44 pydantic 45 pyjwt 46 pytz 47 typer 48 ]; 49 50 + passthru.optional-dependencies = { 51 + shell = [ 52 + ipython 53 + python-dotenv 54 + termcolor 55 + ]; 56 + }; 57 + 58 checkInputs = [ 59 pytest-aiohttp 60 pytest-asyncio ··· 65 ]; 66 67 postPatch = '' 68 substituteInPlace pyproject.toml \ 69 --replace "--cov=pyunifiprotect --cov-append" "" 70 '';