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