python311Packages.reolink-aio: 0.7.8 -> 0.7.9

https://github.com/starkillerOG/reolink_aio/releases/tag/0.7.9
This commit is contained in:
Martin Weinelt 2023-09-07 13:01:23 +02:00
parent 9187dc141c
commit 1028115c8e
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -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";