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