From d764d5d4ba0def511db0a3b182d61a7258d18db3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 18 Dec 2025 12:22:44 +0100 Subject: [PATCH] python313Packages.ttls: 1.9.0 -> 1.10.0 Changelog: https://github.com/jschlyter/ttls/blob/v1.10.0/CHANGES.md --- .../python-modules/ttls/default.nix | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) 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"; }; }