Merge pull request #112043 from fabaff/bump-pywizlight

python3Packages.pywizlight: 0.4.1 -> 0.4.4
This commit is contained in:
Martin Weinelt 2021-02-11 15:19:50 +01:00 committed by GitHub
commit a58a0b5098
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ];
};