1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchFromGitHub,
6 pythonOlder,
7 setuptools,
8 yarl,
9}:
10
11buildPythonPackage rec {
12 pname = "pydroid-ipcam";
13 version = "3.0.0";
14 pyproject = true;
15
16 disabled = pythonOlder "3.9";
17
18 src = fetchFromGitHub {
19 owner = "home-assistant-libs";
20 repo = "pydroid-ipcam";
21 tag = version;
22 hash = "sha256-Z5dWgeXwIRd2iPT2GsWyypHVbaMZ5NUXEBxa8+AZdNk=";
23 };
24
25 build-system = [ setuptools ];
26
27 dependencies = [
28 aiohttp
29 yarl
30 ];
31
32 # Project has no tests
33 doCheck = false;
34
35 pythonImportsCheck = [ "pydroid_ipcam" ];
36
37 meta = with lib; {
38 description = "Python library for Android IP Webcam";
39 homepage = "https://github.com/home-assistant-libs/pydroid-ipcam";
40 changelog = "https://github.com/home-assistant-libs/pydroid-ipcam/releases/tag/${src.tag}";
41 license = licenses.asl20;
42 maintainers = with maintainers; [ fab ];
43 };
44}