From e7f18964af37b1d0476f22c7c1acd71527a5b74a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 22 Feb 2025 21:14:50 -0800 Subject: [PATCH] python313Packages.pygti: 0.9.4 -> 0.10.0 Diff: https://github.com/vigonotion/pygti/compare/refs/tags/v0.9.4...0.10.0 Changelog: https://github.com/vigonotion/pygti/releases/tag/0.10.0 --- .../python-modules/pygti/default.nix | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/pygti/default.nix b/pkgs/development/python-modules/pygti/default.nix index a26792696f27..a9ee409a15ae 100644 --- a/pkgs/development/python-modules/pygti/default.nix +++ b/pkgs/development/python-modules/pygti/default.nix @@ -1,7 +1,6 @@ { lib, buildPythonPackage, - pythonOlder, fetchFromGitHub, setuptools-scm, aiohttp, @@ -11,21 +10,19 @@ buildPythonPackage rec { pname = "pygti"; - version = "0.9.4"; - format = "setuptools"; - - disabled = pythonOlder "3.6"; + version = "0.10.0"; + pyproject = true; src = fetchFromGitHub { owner = "vigonotion"; repo = "pygti"; - tag = "v${version}"; + tag = version; hash = "sha256-2T4Yw4XEOkv+IWyB4Xa2dPu929VH0tLeUjQ5S8EVXz0="; }; - nativeBuildInputs = [ setuptools-scm ]; + build-system = [ setuptools-scm ]; - propagatedBuildInputs = [ + dependencies = [ aiohttp pytz voluptuous @@ -40,10 +37,11 @@ buildPythonPackage rec { "pygti.gti" ]; - meta = with lib; { + meta = { + changelog = "https://github.com/vigonotion/pygti/releases/tag/${src.tag}"; description = "Access public transport information in Hamburg, Germany"; homepage = "https://github.com/vigonotion/pygti"; - license = licenses.asl20; - maintainers = with maintainers; [ dotlambda ]; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ dotlambda ]; }; }