mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
47 lines
989 B
Nix
47 lines
989 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
aiortsp,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
orjson,
|
|
pycryptodomex,
|
|
setuptools,
|
|
typing-extensions,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "reolink-aio";
|
|
version = "0.21.3";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "starkillerOG";
|
|
repo = "reolink_aio";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-XL6Z+1dr35XgMczUcxp4v3ejBcdgWkhUOISFA4lpjU4=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
aiortsp
|
|
orjson
|
|
pycryptodomex
|
|
typing-extensions
|
|
];
|
|
|
|
pythonImportsCheck = [ "reolink_aio" ];
|
|
|
|
# All tests require a network device
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Module to interact with the Reolink IP camera API";
|
|
homepage = "https://github.com/starkillerOG/reolink_aio";
|
|
changelog = "https://github.com/starkillerOG/reolink_aio/releases/tag/${finalAttrs.src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|