mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
Merge pull request #108431 from fabaff/pywilight
python3Packages.pywilight: init at 0.0.65
This commit is contained in:
commit
12677c44d5
32
pkgs/development/python-modules/pywilight/default.nix
Normal file
32
pkgs/development/python-modules/pywilight/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user