From 527292ee4ca72c407a445c22eab8b1dcb2b1aff8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 2 Nov 2023 09:29:23 +0100 Subject: python311Packages.evohome-async: 0.3.15 -> 0.4.3 --- .../python-modules/evohome-async/default.nix | 24 ++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'pkgs/development/python-modules/evohome-async/default.nix') diff --git a/pkgs/development/python-modules/evohome-async/default.nix b/pkgs/development/python-modules/evohome-async/default.nix index c9ad0cc36d53a..e270343c2d08a 100644 --- a/pkgs/development/python-modules/evohome-async/default.nix +++ b/pkgs/development/python-modules/evohome-async/default.nix @@ -2,28 +2,40 @@ , aiohttp , buildPythonPackage , fetchFromGitHub +, hatchling , pythonOlder +, voluptuous }: buildPythonPackage rec { pname = "evohome-async"; - version = "0.3.15"; - disabled = pythonOlder "3.7"; + version = "0.4.3"; + pyproject = true; + + disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "zxdavb"; - repo = pname; - rev = version; - hash = "sha256-/dZRlcTcea26FEpw/XDItKh4ncr/eEFQcdfIE2KIMo8="; + repo = "evohome-async"; + rev = "refs/tags/${version}"; + hash = "sha256-GDrDOwB/cgry3eRNx8IMiBoLu5xLTnG5ByuuwnWA7DY="; }; + nativeBuildInputs = [ + hatchling + ]; + propagatedBuildInputs = [ aiohttp + voluptuous ]; # Project has no tests doCheck = false; - pythonImportsCheck = [ "evohomeasync2" ]; + + pythonImportsCheck = [ + "evohomeasync2" + ]; meta = with lib; { description = "Python client for connecting to Honeywell's TCC RESTful API"; -- cgit 1.4.1