Merge pull request #93821 from mweinelt/pyfritzhome

python3Packages.pyfritzhome: init at 0.4.2
This commit is contained in:
Martin Weinelt 2020-08-01 22:09:12 +02:00 committed by GitHub
commit 93540e9c34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 1 deletions

View file

@ -0,0 +1,34 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder
, requests
, nose, mock }:
buildPythonPackage rec {
pname = "pyfritzhome";
version = "0.4.2";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "0ncyv8svw0fhs01ijjkb1gcinb3jpyjvv9xw1bhnf4ri7b27g6ww";
};
propagatedBuildInputs = [
requests
];
checkInputs = [
mock
nose
];
checkPhase = ''
nosetests --with-coverage
'';
meta = with lib; {
description = "Python Library to access AVM FRITZ!Box homeautomation";
homepage = "https://github.com/hthiery/python-fritzhome";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}

View file

@ -268,7 +268,7 @@
"freebox" = ps: with ps; [ aiohttp-cors netdisco zeroconf]; # missing inputs: aiofreepybox
"freedns" = ps: with ps; [ ];
"fritz" = ps: with ps; [ fritzconnection];
"fritzbox" = ps: with ps; [ ]; # missing inputs: pyfritzhome
"fritzbox" = ps: with ps; [ pyfritzhome];
"fritzbox_callmonitor" = ps: with ps; [ fritzconnection];
"fritzbox_netmonitor" = ps: with ps; [ fritzconnection];
"fronius" = ps: with ps; [ ]; # missing inputs: pyfronius

View file

@ -3845,6 +3845,8 @@ in {
pyfribidi = callPackage ../development/python-modules/pyfribidi { };
pyfritzhome = callPackage ../development/python-modules/pyfritzhome { };
pyftpdlib = callPackage ../development/python-modules/pyftpdlib { };
filebrowser_safe = callPackage ../development/python-modules/filebrowser_safe { };