diff --git a/pkgs/development/python-modules/pyvera/default.nix b/pkgs/development/python-modules/pyvera/default.nix index 5a6c502e2eb0..bdcef9663071 100644 --- a/pkgs/development/python-modules/pyvera/default.nix +++ b/pkgs/development/python-modules/pyvera/default.nix @@ -8,24 +8,27 @@ pytest-timeout, responses, pytestCheckHook, + pythonOlder, requests, }: buildPythonPackage rec { pname = "pyvera"; - version = "0.3.15"; - format = "pyproject"; + version = "0.3.16"; + pyproject = true; + + disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "pavoni"; - repo = pname; - rev = version; - hash = "sha256-1+xIqOogRUt+blX7AZSKIiU8lpR4AzKIIW/smCSft94="; + repo = "pyvera"; + tag = version; + hash = "sha256-WLzVOQEykST2BsVRHmcBhrsd/am0jI/f7D0PmpCTbdQ="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ requests ]; + dependencies = [ requests ]; nativeCheckInputs = [ pytest-asyncio @@ -40,7 +43,8 @@ buildPythonPackage rec { meta = with lib; { description = "Python library to control devices via the Vera hub"; homepage = "https://github.com/pavoni/pyvera"; - license = with licenses; [ gpl2Only ]; + changelog = "https://github.com/maximvelichko/pyvera/releases/tag/${version}"; + license = licenses.gpl2Only; maintainers = with maintainers; [ fab ]; }; }