diff --git a/pkgs/development/python-modules/intellifire4py/default.nix b/pkgs/development/python-modules/intellifire4py/default.nix index 49f9bcc6d20e..a37f378939b7 100644 --- a/pkgs/development/python-modules/intellifire4py/default.nix +++ b/pkgs/development/python-modules/intellifire4py/default.nix @@ -5,7 +5,7 @@ fetchFromGitHub, aiohttp, aioresponses, - poetry-core, + hatchling, pydantic, pytest-asyncio, pytest-httpx, @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "intellifire4py"; - version = "4.1.9"; + version = "4.2.1"; pyproject = true; disabled = pythonOlder "3.7"; @@ -25,12 +25,12 @@ buildPythonPackage rec { owner = "jeeftor"; repo = "intellifire4py"; tag = "v${version}"; - hash = "sha256-dMhm2gntLV7ev6UIfHFMATytZo5blTlALuh9sBirkqI="; + hash = "sha256-kCZkIR8SmrLTm86M87juV7oQ+O01AA4pzkBMnKCnbNA="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ hatchling ]; - propagatedBuildInputs = [ + dependencies = [ aiohttp aenum pydantic @@ -48,10 +48,11 @@ buildPythonPackage rec { meta = with lib; { description = "Module to read Intellifire fireplace status data"; - mainProgram = "intellifire4py"; homepage = "https://github.com/jeeftor/intellifire4py"; - changelog = "https://github.com/jeeftor/intellifire4py/releases/tag/v${version}"; - license = with licenses; [ mit ]; + changelog = "https://github.com/jeeftor/intellifire4py/releases/tag/v${src.tag}"; + license = licenses.mit; maintainers = with maintainers; [ fab ]; + mainProgram = "intellifire4py"; + }; }