python3Packages.pywizlight: init at 0.4.1

This commit is contained in:
Fabian Affolter 2021-01-05 15:31:21 +01:00 committed by Jonathan Ringer
parent b7b0a1fe77
commit 441c85b26c
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, asyncio-dgram
, click
}:
buildPythonPackage rec {
pname = "pywizlight";
version = "0.4.1";
src = fetchFromGitHub {
owner = "sbidy";
repo = pname;
rev = "v${version}";
sha256 = "0kyhyda28zbni9sjv6kvky6wlhqldl47niddgpbjsv5dlb9xvxns";
};
propagatedBuildInputs = [
asyncio-dgram
click
];
# no tests are present
doCheck = false;
pythonImportsCheck = [ "pywizlight" ];
meta = with lib; {
description = "Python connector for WiZ light bulbs";
homepage = "https://github.com/sbidy/pywizlight";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -445,6 +445,8 @@ in {
async_generator = callPackage ../development/python-modules/async_generator { };
asyncio-dgram = callPackage ../development/python-modules/asyncio-dgram { };
asyncio-throttle = callPackage ../development/python-modules/asyncio-throttle { };
asyncpg = callPackage ../development/python-modules/asyncpg { };
@ -6265,6 +6267,8 @@ in {
pywinrm = callPackage ../development/python-modules/pywinrm { };
pywizlight = callPackage ../development/python-modules/pywizlight { };
pyxattr = let
pyxattr' = callPackage ../development/python-modules/pyxattr { };
pyxattr_2 = pyxattr'.overridePythonAttrs (oldAttrs: rec {