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