python3Packages.pywizlight: 0.4.1 -> 0.4.4
This commit is contained in:
parent
24e5fe6075
commit
0e669b9e51
@ -1,19 +1,21 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, asyncio-dgram
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, fetchFromGitHub
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pywizlight";
|
||||
version = "0.4.1";
|
||||
version = "0.4.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sbidy";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0kyhyda28zbni9sjv6kvky6wlhqldl47niddgpbjsv5dlb9xvxns";
|
||||
sha256 = "139jnmyyfd8cq0xnxqbffkyjmy79gcpiwqmcn2dy27nz3608c1qv";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -21,13 +23,24 @@ buildPythonPackage rec {
|
||||
click
|
||||
];
|
||||
|
||||
# no tests are present
|
||||
doCheck = false;
|
||||
checkInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# Tests requires network features (e. g., discovery testing)
|
||||
disabledTests = [
|
||||
"test_Bulb_Discovery"
|
||||
"test_timeout"
|
||||
"test_timeout_PilotBuilder"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pywizlight" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python connector for WiZ light bulbs";
|
||||
homepage = "https://github.com/sbidy/pywizlight";
|
||||
changelog = "https://github.com/sbidy/pywizlight/releases/tag/v${version}";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user