Merge pull request #108431 from fabaff/pywilight

python3Packages.pywilight: init at 0.0.65
This commit is contained in:
Martin Weinelt 2021-01-05 18:41:44 +01:00 committed by GitHub
commit 12677c44d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 1 deletions

View File

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, ifaddr
, requests
}:
buildPythonPackage rec {
pname = "pywilight";
version = "0.0.65";
src = fetchPypi {
inherit pname version;
sha256 = "1bldhg81lal9mbf55ky3gj2ndlplr0vfjp1bamd0mz5d9icas8nf";
};
propagatedBuildInputs = [
ifaddr
requests
];
# no tests are present
doCheck = false;
pythonImportsCheck = [ "pywilight" ];
meta = with lib; {
description = "Python API for WiLight device";
homepage = "https://github.com/leofig-rj/pywilight";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -927,7 +927,7 @@
"wemo" = ps: with ps; [ ]; # missing inputs: pywemo
"whois" = ps: with ps; [ python-whois ];
"wiffi" = ps: with ps; [ ]; # missing inputs: wiffi
"wilight" = ps: with ps; [ ]; # missing inputs: pywilight
"wilight" = ps: with ps; [ pywilight ];
"wink" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pubnubsub-handler python-wink
"wirelesstag" = ps: with ps; [ ]; # missing inputs: wirelesstagpy
"withings" = ps: with ps; [ aiohttp-cors ]; # missing inputs: withings-api

View File

@ -6269,6 +6269,8 @@ in {
pywick = callPackage ../development/python-modules/pywick { };
pywilight = callPackage ../development/python-modules/pywilight { };
pywinrm = callPackage ../development/python-modules/pywinrm { };
pywizlight = callPackage ../development/python-modules/pywizlight { };