From 1028115c8e0dfb0cfd1b5cbb9a44a75680c0b264 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 7 Sep 2023 13:01:23 +0200 Subject: [PATCH] python311Packages.reolink-aio: 0.7.8 -> 0.7.9 https://github.com/starkillerOG/reolink_aio/releases/tag/0.7.9 --- .../python-modules/reolink-aio/default.nix | 22 ++++++------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/reolink-aio/default.nix b/pkgs/development/python-modules/reolink-aio/default.nix index b74665e2c342..758c957823a6 100644 --- a/pkgs/development/python-modules/reolink-aio/default.nix +++ b/pkgs/development/python-modules/reolink-aio/default.nix @@ -2,15 +2,14 @@ , aiohttp , buildPythonPackage , fetchFromGitHub -, ffmpeg-python , orjson , pythonOlder -, requests +, typing-extensions }: buildPythonPackage rec { pname = "reolink-aio"; - version = "0.7.8"; + version = "0.7.9"; format = "setuptools"; disabled = pythonOlder "3.9"; @@ -19,29 +18,22 @@ buildPythonPackage rec { owner = "starkillerOG"; repo = "reolink_aio"; rev = "refs/tags/${version}"; - hash = "sha256-vbSt1rD25Bt3Qac0uO0Z63JhbU5HU0p2ox046W6xyJU="; + hash = "sha256-+1FZzgVaj2hphSTFlOtaYH3o++kC/aaahU8i8urdme0="; }; - postPatch = '' - # Packages in nixpkgs is different than the module name - substituteInPlace setup.py \ - --replace "ffmpeg" "ffmpeg-python" - ''; - propagatedBuildInputs = [ aiohttp - ffmpeg-python orjson - requests + typing-extensions ]; - # All tests require a network device - doCheck = false; - pythonImportsCheck = [ "reolink_aio" ]; + # All tests require a network device + doCheck = false; + meta = with lib; { description = "Module to interact with the Reolink IP camera API"; homepage = "https://github.com/starkillerOG/reolink_aio";