mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #120248 from fabaff/pydroid-ipcam
This commit is contained in:
commit
bf18034b98
3 changed files with 39 additions and 1 deletions
36
pkgs/development/python-modules/pydroid-ipcam/default.nix
Normal file
36
pkgs/development/python-modules/pydroid-ipcam/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue