python3Packages.openwebifpy: init at 3.1.1

This commit is contained in:
Martin Weinelt 2020-08-02 03:29:10 +02:00 committed by Jon
parent 48ec2fbf1e
commit 929e79e6aa
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder
, requests, zeroconf, wakeonlan
, python }:
buildPythonPackage rec {
pname = "openwebifpy";
version = "3.1.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "0zqa74i54ww9qjciiv8s58mxbs6vxq06cq5k4pxfarc0l75l4gh2";
};
propagatedBuildInputs = [
requests
zeroconf
wakeonlan
];
checkPhase = ''
${python.interpreter} setup.py test
'';
meta = with lib; {
description = "Provides a python interface to interact with a device running OpenWebIf";
homepage = "https://openwebifpy.readthedocs.io/";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}

View file

@ -2506,6 +2506,8 @@ in {
openidc-client = callPackage ../development/python-modules/openidc-client {};
openwebifpy = callPackage ../development/python-modules/openwebifpy {};
optuna = callPackage ../development/python-modules/optuna { };
idna = callPackage ../development/python-modules/idna { };