diff --git a/pkgs/development/python-modules/pybalboa/default.nix b/pkgs/development/python-modules/pybalboa/default.nix index ce28b27dc7c5..e00186809690 100644 --- a/pkgs/development/python-modules/pybalboa/default.nix +++ b/pkgs/development/python-modules/pybalboa/default.nix @@ -2,33 +2,39 @@ lib, buildPythonPackage, fetchFromGitHub, - pythonOlder, poetry-core, + poetry-dynamic-versioning, + pytest-asyncio, + pytestCheckHook, }: buildPythonPackage rec { pname = "pybalboa"; - version = "1.0.2"; - format = "pyproject"; - - disabled = pythonOlder "3.8"; + version = "1.1.3"; + pyproject = true; src = fetchFromGitHub { owner = "garbled1"; - repo = pname; - tag = version; - hash = "sha256-rSY6kU7F9ybpPXcmTM2WBazjb9tI2+8dG56pjrRXcKg="; + repo = "pybalboa"; + # missing tag: https://github.com/garbled1/pybalboa/issues/100 + rev = "6aa7e3c401ab03b93c083acdf430afb708e20e9b"; + hash = "sha256-xOMbMmTTDDbd0WL0LFJ6lztsQMdI/r9MLhV9DmB6m3I="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ + poetry-core + poetry-dynamic-versioning + ]; - # Project has no tests - doCheck = false; + nativeCheckInputs = [ + pytest-asyncio + pytestCheckHook + ]; pythonImportsCheck = [ "pybalboa" ]; meta = with lib; { - description = " Python module to interface with a Balboa Spa"; + description = "Module to communicate with a Balboa spa wifi adapter"; homepage = "https://github.com/garbled1/pybalboa"; changelog = "https://github.com/garbled1/pybalboa/releases/tag/${version}"; license = licenses.asl20;