biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / reolink-aio / default.nix
blobd3ffb497799b04b4c570f5cd4464be362400986c
2   lib,
3   aiohttp,
4   aiortsp,
5   buildPythonPackage,
6   fetchFromGitHub,
7   orjson,
8   pythonOlder,
9   setuptools,
10   typing-extensions,
13 buildPythonPackage rec {
14   pname = "reolink-aio";
15   version = "0.9.11";
16   pyproject = true;
18   disabled = pythonOlder "3.10";
20   src = fetchFromGitHub {
21     owner = "starkillerOG";
22     repo = "reolink_aio";
23     rev = "refs/tags/${version}";
24     hash = "sha256-xIN6ioX02YgzY3sh3l7rFT6UQCMnzlrX/CJj483G6ig=";
25   };
27   build-system = [ setuptools ];
29   dependencies = [
30     aiohttp
31     aiortsp
32     orjson
33     typing-extensions
34   ];
36   pythonImportsCheck = [ "reolink_aio" ];
38   # All tests require a network device
39   doCheck = false;
41   meta = with lib; {
42     description = "Module to interact with the Reolink IP camera API";
43     homepage = "https://github.com/starkillerOG/reolink_aio";
44     changelog = "https://github.com/starkillerOG/reolink_aio/releases/tag/${version}";
45     license = licenses.mit;
46     maintainers = with maintainers; [ fab ];
47   };