From 358957fd4d0205c262c2b2d3fa80cebd2a008337 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 12 Feb 2022 13:05:42 +0100 Subject: [PATCH] python3Packages.yeelight: 0.7.8 -> 0.7.9 --- .../python-modules/yeelight/default.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/yeelight/default.nix b/pkgs/development/python-modules/yeelight/default.nix index 6c40f266f346..b64bd929f13f 100644 --- a/pkgs/development/python-modules/yeelight/default.nix +++ b/pkgs/development/python-modules/yeelight/default.nix @@ -9,14 +9,16 @@ buildPythonPackage rec { pname = "yeelight"; - version = "0.7.8"; - disabled = pythonOlder "3.4"; + version = "0.7.9"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitLab { owner = "stavros"; repo = "python-yeelight"; rev = "v${version}"; - sha256 = "sha256-fKtG0D256bK1hIcQiLdzCM+IdD/mmcFpcoE3DEFt7r0="; + sha256 = "sha256-8N+HOhUX3BXecS/kaAfLoge+NYzKLKPyoTthu+useJA="; }; propagatedBuildInputs = [ @@ -28,9 +30,13 @@ buildPythonPackage rec { pytestCheckHook ]; - pytestFlagsArray = [ "yeelight/tests.py" ]; + pytestFlagsArray = [ + "yeelight/tests.py" + ]; - pythonImportsCheck = [ "yeelight" ]; + pythonImportsCheck = [ + "yeelight" + ]; meta = with lib; { description = "Python library for controlling YeeLight RGB bulbs";