python313Packages.autarco: modernize

Changed files
+1 -6
pkgs
development
python-modules
autarco
+1 -6
pkgs/development/python-modules/autarco/default.nix
···
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
-
pythonOlder,
syrupy,
yarl,
}:
···
pname = "autarco";
version = "3.2.0";
pyproject = true;
-
-
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "klaasnicolaas";
···
tag = "v${version}";
hash = "sha256-+j7limAYKFj9DZjetXnaFKIolitRppU1QLFRB94DlgE=";
};
-
-
pythonRelaxDeps = [ "orjson" ];
postPatch = ''
# Upstream doesn't set a version for the pyproject.toml
···
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 ];
};