diff --git a/pkgs/development/python-modules/ttls/default.nix b/pkgs/development/python-modules/ttls/default.nix index 4f6faef5574a..7a1cc3be459f 100644 --- a/pkgs/development/python-modules/ttls/default.nix +++ b/pkgs/development/python-modules/ttls/default.nix @@ -3,30 +3,29 @@ aiohttp, buildPythonPackage, fetchFromGitHub, - poetry-core, - pythonOlder, + hatchling, + uv-dynamic-versioning, }: buildPythonPackage rec { pname = "ttls"; - version = "1.9.0"; + version = "1.10.0"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "jschlyter"; repo = "ttls"; tag = "v${version}"; - hash = "sha256-itGXZbQZ+HYpiwySLeGN3mPy3fgsxx0A9byOxIVpRBc="; + hash = "sha256-ETqjL7pl/FekzMusBtq8jMr72/j7Dy/zadcObSNaKqU="; }; - build-system = [ poetry-core ]; - - dependencies = [ - aiohttp + build-system = [ + hatchling + uv-dynamic-versioning ]; + dependencies = [ aiohttp ]; + # Module has no tests doCheck = false; @@ -34,10 +33,10 @@ buildPythonPackage rec { meta = { description = "Module to interact with Twinkly LEDs"; - mainProgram = "ttls"; homepage = "https://github.com/jschlyter/ttls"; - changelog = "https://github.com/jschlyter/ttls/blob/v${version}/CHANGES.md"; + changelog = "https://github.com/jschlyter/ttls/blob/${src.tag}/CHANGES.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; + mainProgram = "ttls"; }; }