python3Packages.pywizlight: init at 0.4.1
This commit is contained in:
parent
b7b0a1fe77
commit
441c85b26c
34
pkgs/development/python-modules/pywizlight/default.nix
Normal file
34
pkgs/development/python-modules/pywizlight/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -445,6 +445,8 @@ in {
|
|||||||
|
|
||||||
async_generator = callPackage ../development/python-modules/async_generator { };
|
async_generator = callPackage ../development/python-modules/async_generator { };
|
||||||
|
|
||||||
|
asyncio-dgram = callPackage ../development/python-modules/asyncio-dgram { };
|
||||||
|
|
||||||
asyncio-throttle = callPackage ../development/python-modules/asyncio-throttle { };
|
asyncio-throttle = callPackage ../development/python-modules/asyncio-throttle { };
|
||||||
|
|
||||||
asyncpg = callPackage ../development/python-modules/asyncpg { };
|
asyncpg = callPackage ../development/python-modules/asyncpg { };
|
||||||
@ -6265,6 +6267,8 @@ in {
|
|||||||
|
|
||||||
pywinrm = callPackage ../development/python-modules/pywinrm { };
|
pywinrm = callPackage ../development/python-modules/pywinrm { };
|
||||||
|
|
||||||
|
pywizlight = callPackage ../development/python-modules/pywizlight { };
|
||||||
|
|
||||||
pyxattr = let
|
pyxattr = let
|
||||||
pyxattr' = callPackage ../development/python-modules/pyxattr { };
|
pyxattr' = callPackage ../development/python-modules/pyxattr { };
|
||||||
pyxattr_2 = pyxattr'.overridePythonAttrs (oldAttrs: rec {
|
pyxattr_2 = pyxattr'.overridePythonAttrs (oldAttrs: rec {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user