From ea3191eacfbc40d015146e507f6a3e3df5abbda0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 23 Dec 2021 09:22:47 +0100 Subject: [PATCH] python3Packages.pywilight: 0.0.70 -> 0.0.73 --- .../python-modules/pywilight/default.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pywilight/default.nix b/pkgs/development/python-modules/pywilight/default.nix index 425cba61ce3f..43c50fa8cf2d 100644 --- a/pkgs/development/python-modules/pywilight/default.nix +++ b/pkgs/development/python-modules/pywilight/default.nix @@ -3,15 +3,19 @@ , fetchPypi , ifaddr , requests +, pythonOlder }: buildPythonPackage rec { pname = "pywilight"; - version = "0.0.70"; + version = "0.0.73"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-PLahGx75oEp4NIZB9PVRdA3cLBxhQsHTsnquy7WSEC8="; + sha256 = "sha256-8AYzAePLqCiz/EN6cJShGnrISijBpFHAU/u355f5IjY="; }; propagatedBuildInputs = [ @@ -19,9 +23,12 @@ buildPythonPackage rec { requests ]; - # no tests are present + # Module has no tests doCheck = false; - pythonImportsCheck = [ "pywilight" ]; + + pythonImportsCheck = [ + "pywilight" + ]; meta = with lib; { description = "Python API for WiLight device";