python3Packages.openwebifpy: init at 3.1.1
This commit is contained in:
parent
48ec2fbf1e
commit
929e79e6aa
2 changed files with 34 additions and 0 deletions
32
pkgs/development/python-modules/openwebifpy/default.nix
Normal file
32
pkgs/development/python-modules/openwebifpy/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue