diff --git a/pkgs/development/python-modules/python-smarttub/default.nix b/pkgs/development/python-modules/python-smarttub/default.nix index 57dd3f42aa98..ec3f38b0638d 100644 --- a/pkgs/development/python-modules/python-smarttub/default.nix +++ b/pkgs/development/python-modules/python-smarttub/default.nix @@ -4,30 +4,31 @@ aresponses, buildPythonPackage, fetchFromGitHub, + hatch-vcs, + hatchling, inflection, pyjwt, pytest-asyncio, pytestCheckHook, python-dateutil, - pythonOlder, - setuptools, }: buildPythonPackage rec { pname = "python-smarttub"; - version = "0.0.39"; + version = "0.0.44"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "mdz"; repo = "python-smarttub"; tag = "v${version}"; - hash = "sha256-yZrBFUsablu67gfIsWBYc/0k8J5zU1mrWD8kzuNkT+U="; + hash = "sha256-ozOnCJXv99gne59HQEdQfCKZe8HhK2q9vShMuBlSWE8="; }; - build-system = [ setuptools ]; + build-system = [ + hatch-vcs + hatchling + ]; dependencies = [ aiohttp @@ -45,10 +46,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "smarttub" ]; meta = with lib; { - changelog = "https://github.com/mdz/python-smarttub/releases/tag/v${version}"; description = "Python API for SmartTub enabled hot tubs"; homepage = "https://github.com/mdz/python-smarttub"; - license = with licenses; [ mit ]; + changelog = "https://github.com/mdz/python-smarttub/releases/tag/v${version}"; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }