silx: 2.1.1 -> 2.1.2 (#361612)
[NixPkgs.git] / pkgs / development / python-modules / reolink-aio / default.nix
blobdc7e453ee6e5a97896d0100deabb68a66403a406
2   lib,
3   aiohttp,
4   aiortsp,
5   buildPythonPackage,
6   fetchFromGitHub,
7   orjson,
8   pycryptodomex,
9   pythonOlder,
10   setuptools,
11   typing-extensions,
14 buildPythonPackage rec {
15   pname = "reolink-aio";
16   version = "0.11.4";
17   pyproject = true;
19   disabled = pythonOlder "3.11";
21   src = fetchFromGitHub {
22     owner = "starkillerOG";
23     repo = "reolink_aio";
24     rev = "refs/tags/${version}";
25     hash = "sha256-h4mHRNmzrFAUQ0qQkzAMevO9hqV4Uueivr8wwor636Q=";
26   };
28   build-system = [ setuptools ];
30   dependencies = [
31     aiohttp
32     aiortsp
33     orjson
34     pycryptodomex
35     typing-extensions
36   ];
38   pythonImportsCheck = [ "reolink_aio" ];
40   # All tests require a network device
41   doCheck = false;
43   meta = with lib; {
44     description = "Module to interact with the Reolink IP camera API";
45     homepage = "https://github.com/starkillerOG/reolink_aio";
46     changelog = "https://github.com/starkillerOG/reolink_aio/releases/tag/${version}";
47     license = licenses.mit;
48     maintainers = with maintainers; [ fab ];
49   };