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