Merge pull request #120248 from fabaff/pydroid-ipcam

This commit is contained in:
Martin Weinelt 2021-04-24 02:25:51 +02:00 committed by GitHub
commit bf18034b98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 1 deletions

View file

@ -0,0 +1,36 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, yarl
}:
buildPythonPackage rec {
pname = "pydroid-ipcam";
version = "unstable-2021-04-16";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = pname;
rev = "9f22682c6f9182aa5e42762f52223337b8b6909c";
sha256 = "1lvppyzmwg0fp8zch11j51an4sb074yl9shzanakvjmbqpnif6s6";
};
propagatedBuildInputs = [
aiohttp
yarl
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pydroid_ipcam" ];
meta = with lib; {
description = "Python library for Android IP Webcam";
homepage = "https://github.com/home-assistant-libs/pydroid-ipcam";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -32,7 +32,7 @@
"amcrest" = ps: with ps; [ amcrest ha-ffmpeg ];
"ampio" = ps: with ps; [ ]; # missing inputs: asmog
"analytics" = ps: with ps; [ aiohttp-cors ];
"android_ip_webcam" = ps: with ps; [ ]; # missing inputs: pydroid-ipcam
"android_ip_webcam" = ps: with ps; [ pydroid-ipcam ];
"androidtv" = ps: with ps; [ adb-shell androidtv pure-python-adb ];
"anel_pwrctrl" = ps: with ps; [ ]; # missing inputs: anel_pwrctrl-homeassistant
"anthemav" = ps: with ps; [ ]; # missing inputs: anthemav

View file

@ -5821,6 +5821,8 @@ in {
pydrive = callPackage ../development/python-modules/pydrive { };
pydroid-ipcam = callPackage ../development/python-modules/pydroid-ipcam { };
pydsdl = callPackage ../development/python-modules/pydsdl { };
pydub = callPackage ../development/python-modules/pydub { };