From 33c9c8cb07d811385394a7ceee3affcd60508999 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 12 Mar 2025 12:02:14 -0700 Subject: [PATCH 1/2] python313Packages.x-wr-timezone: 2.0.0 -> 2.0.1 Diff: https://github.com/niccokunzmann/x-wr-timezone/compare/refs/tags/v2.0.0...v2.0.1 Changelog: https://github.com/niccokunzmann/x-wr-timezone/blob/refs/tags/v2.0.1/README.rst#changelog --- pkgs/development/python-modules/x-wr-timezone/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/x-wr-timezone/default.nix b/pkgs/development/python-modules/x-wr-timezone/default.nix index 497ab9d2cd2a..32c7b83adef6 100644 --- a/pkgs/development/python-modules/x-wr-timezone/default.nix +++ b/pkgs/development/python-modules/x-wr-timezone/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "x-wr-timezone"; - version = "2.0.0"; + version = "2.0.1"; pyproject = true; src = fetchFromGitHub { owner = "niccokunzmann"; repo = "x-wr-timezone"; tag = "v${version}"; - hash = "sha256-F/bNETgscbhEkpG/D1eSJaBNdpi0+xEYuNL4RURGST0="; + hash = "sha256-Llpe3Z0Yfd0vRgx95D4YVrnNJk0g/VqPuNvtUrUpFk0="; }; build-system = [ setuptools ]; @@ -48,7 +48,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "x_wr_timezone" ]; meta = { - changelog = "https://github.com/niccokunzmann/x-wr-timezone/blob/${src.rev}/README.rst#changelog"; + changelog = "https://github.com/niccokunzmann/x-wr-timezone/blob/${src.tag}/README.rst#changelog"; description = "Convert calendars using X-WR-TIMEZONE to standard ones"; homepage = "https://github.com/niccokunzmann/x-wr-timezone"; license = lib.licenses.lgpl3Plus; From 593a1d334cc8ef022d8bfd80dfe1cbf688885bff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 12 Mar 2025 12:02:55 -0700 Subject: [PATCH 2/2] python313Packages.recurring-ical-events: 3.4.1 -> 3.6.0 Diff: https://github.com/niccokunzmann/python-recurring-ical-events/compare/refs/tags/v3.4.1...v3.6.0 Changelog: https://github.com/niccokunzmann/python-recurring-ical-events/blob/v3.6.0/README.rst#changelog --- .../recurring-ical-events/default.nix | 22 ++++++++++++------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/recurring-ical-events/default.nix b/pkgs/development/python-modules/recurring-ical-events/default.nix index 6f6df628d0fb..04d83dff0966 100644 --- a/pkgs/development/python-modules/recurring-ical-events/default.nix +++ b/pkgs/development/python-modules/recurring-ical-events/default.nix @@ -1,9 +1,10 @@ { lib, buildPythonPackage, - pythonOlder, fetchFromGitHub, - setuptools, + git, + hatch-vcs, + hatchling, icalendar, python-dateutil, tzdata, @@ -16,20 +17,25 @@ buildPythonPackage rec { pname = "recurring-ical-events"; - version = "3.4.1"; - - disabled = pythonOlder "3.8"; - + version = "3.6.0"; pyproject = true; src = fetchFromGitHub { owner = "niccokunzmann"; repo = "python-recurring-ical-events"; tag = "v${version}"; - hash = "sha256-JhGKowFtRJwLj/5J1lNpgMTl1d+oWsmV4wI3hfOW5io="; + hash = "sha256-wfp/ubFZv54z2d44hvG56xcCjGedYqW/zeNvaoPPJYE="; }; - build-system = [ setuptools ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace 'dynamic = ["urls", "version"]' 'version = "${version}"' + ''; + + build-system = [ + hatch-vcs + hatchling + ]; dependencies = [ icalendar