diff --git a/pkgs/development/python-modules/ha-philipsjs/default.nix b/pkgs/development/python-modules/ha-philipsjs/default.nix index 939dfdd8afca..805665b2b756 100644 --- a/pkgs/development/python-modules/ha-philipsjs/default.nix +++ b/pkgs/development/python-modules/ha-philipsjs/default.nix @@ -9,23 +9,26 @@ pytestCheckHook, pythonOlder, respx, + setuptools, }: buildPythonPackage rec { pname = "ha-philipsjs"; - version = "3.1.1"; - format = "setuptools"; + version = "3.2.1"; + pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "danielperna84"; - repo = pname; + repo = "ha-philipsjs"; rev = "refs/tags/${version}"; - hash = "sha256-r8uqToxkJg9j89UUZpxsPXutWPefAYDW95zFBKU9Al4="; + hash = "sha256-gN7TPbNGw1vT0oAE6+Kg4V3J5dhYH+Gvv3JwptQ2aMk="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ cryptography httpx ]; @@ -40,7 +43,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "haphilipsjs" ]; meta = with lib; { - description = "Python library to interact with Philips TVs with jointSPACE API"; + description = "Library to interact with Philips TVs with jointSPACE API"; homepage = "https://github.com/danielperna84/ha-philipsjs"; changelog = "https://github.com/danielperna84/ha-philipsjs/releases/tag/${version}"; license = licenses.mit;