diff options
Diffstat (limited to 'pkgs/development/python-modules/evohome-async/default.nix')
-rw-r--r-- | pkgs/development/python-modules/evohome-async/default.nix | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/evohome-async/default.nix b/pkgs/development/python-modules/evohome-async/default.nix index c9ad0cc36d5..e270343c2d0 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"; |