diff --git a/pkgs/development/python-modules/autarco/default.nix b/pkgs/development/python-modules/autarco/default.nix index 509a4667a705..bd05131c0b99 100644 --- a/pkgs/development/python-modules/autarco/default.nix +++ b/pkgs/development/python-modules/autarco/default.nix @@ -10,27 +10,22 @@ pytest-asyncio, pytest-cov-stub, pytestCheckHook, - pythonOlder, syrupy, yarl, }: buildPythonPackage rec { pname = "autarco"; - version = "3.1.0"; + version = "3.2.0"; pyproject = true; - disabled = pythonOlder "3.11"; - src = fetchFromGitHub { owner = "klaasnicolaas"; repo = "python-autarco"; tag = "v${version}"; - hash = "sha256-zSqIEtQucrrAFEY7pBJ14Cevq8xbcGOheEmEE7Jd4qk="; + hash = "sha256-+j7limAYKFj9DZjetXnaFKIolitRppU1QLFRB94DlgE="; }; - pythonRelaxDeps = [ "orjson" ]; - postPatch = '' # Upstream doesn't set a version for the pyproject.toml substituteInPlace pyproject.toml \ @@ -61,7 +56,7 @@ buildPythonPackage rec { meta = with lib; { description = "Module for the Autarco Inverter"; homepage = "https://github.com/klaasnicolaas/python-autarco"; - changelog = "https://github.com/klaasnicolaas/python-autarco/releases/tag/v${version}"; + changelog = "https://github.com/klaasnicolaas/python-autarco/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };