diff options
Diffstat (limited to 'pkgs/development/python-modules/aioshelly/default.nix')
-rw-r--r-- | pkgs/development/python-modules/aioshelly/default.nix | 37 |
1 files changed, 17 insertions, 20 deletions
diff --git a/pkgs/development/python-modules/aioshelly/default.nix b/pkgs/development/python-modules/aioshelly/default.nix index 55c60d8e921a8..0a648fa4f704c 100644 --- a/pkgs/development/python-modules/aioshelly/default.nix +++ b/pkgs/development/python-modules/aioshelly/default.nix @@ -1,34 +1,33 @@ -{ lib -, aiohttp -, bluetooth-data-tools -, buildPythonPackage -, fetchFromGitHub -, habluetooth -, orjson -, pythonOlder -, setuptools -, yarl +{ + lib, + aiohttp, + bluetooth-data-tools, + buildPythonPackage, + fetchFromGitHub, + habluetooth, + orjson, + pythonOlder, + setuptools, + yarl, }: buildPythonPackage rec { pname = "aioshelly"; - version = "8.2.0"; + version = "10.0.0"; pyproject = true; disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "home-assistant-libs"; - repo = pname; + repo = "aioshelly"; rev = "refs/tags/${version}"; - hash = "sha256-ZJ6lb3pd8DhNagaVq1uFwadtviuHCg44YZkh29ipu5U="; + hash = "sha256-HHFp1n0oTZznByGMH2DD/LnK8mSuAe7ex2dA951MtpY="; }; - nativeBuildInputs = [ - setuptools - ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ aiohttp bluetooth-data-tools habluetooth @@ -39,9 +38,7 @@ buildPythonPackage rec { # Project has no test doCheck = false; - pythonImportsCheck = [ - "aioshelly" - ]; + pythonImportsCheck = [ "aioshelly" ]; meta = with lib; { description = "Python library to control Shelly"; |