Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / reolink-aio / default.nix
blobb1fb08c4bdf334265346a914726f645a758adf0e
1 { lib
2 , aiohttp
3 , aiortsp
4 , buildPythonPackage
5 , fetchFromGitHub
6 , orjson
7 , pythonOlder
8 , setuptools
9 , typing-extensions
12 buildPythonPackage rec {
13   pname = "reolink-aio";
14   version = "0.8.9";
15   pyproject = true;
17   disabled = pythonOlder "3.9";
19   src = fetchFromGitHub {
20     owner = "starkillerOG";
21     repo = "reolink_aio";
22     rev = "refs/tags/${version}";
23     hash = "sha256-MUhB8A51dj+FA3+lvBrFyAWizKq5CpYwo38E1euJsHs=";
24   };
26   nativeBuildInputs = [
27     setuptools
28   ];
30   propagatedBuildInputs = [
31     aiohttp
32     aiortsp
33     orjson
34     typing-extensions
35   ];
37   pythonImportsCheck = [
38     "reolink_aio"
39   ];
41   # All tests require a network device
42   doCheck = false;
44   meta = with lib; {
45     description = "Module to interact with the Reolink IP camera API";
46     homepage = "https://github.com/starkillerOG/reolink_aio";
47     changelog = "https://github.com/starkillerOG/reolink_aio/releases/tag/${version}";
48     license = with licenses; [ mit ];
49     maintainers = with maintainers; [ fab ];
50   };