python313Packages.reolink: refactor

This commit is contained in:
Fabian Affolter
2025-08-22 23:09:34 +02:00
committed by GitHub
parent c674919773
commit 757ff4df87
@@ -6,16 +6,14 @@
fetchFromGitHub,
ffmpeg-python,
pytestCheckHook,
pythonOlder,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "reolink";
version = "0.64";
format = "setuptools";
disabled = pythonOlder "3.8";
pyproject = true;
src = fetchFromGitHub {
owner = "fwestenberg";
@@ -24,7 +22,9 @@ buildPythonPackage rec {
hash = "sha256-3r5BwVlNolji2HIGjqv8gkizx4wWxrKYkiNmSJedKmI=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
aiohttp
ffmpeg-python
requests
@@ -57,11 +57,13 @@ buildPythonPackage rec {
pythonImportsCheck = [ "reolink" ];
passthru.skipBulkUpdate = true;
meta = with lib; {
description = "Module to interact with the Reolink IP camera API";
homepage = "https://github.com/fwestenberg/reolink";
changelog = "https://github.com/fwestenberg/reolink/releases/tag/v${version}";
license = with licenses; [ mit ];
changelog = "https://github.com/fwestenberg/reolink/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}