From 51e4b3bf169e8f63179eaaa064d835da9fd6fe0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 17 Jan 2025 11:58:37 -0800 Subject: [PATCH] python313Packages.icalevents: 0.1.29 -> 0.2.0 Diff: https://github.com/jazzband/icalevents/compare/refs/tags/v0.1.29...v0.2.0 Changelog: https://github.com/jazzband/icalevents/releases/tag/v0.2.0 --- .../python-modules/icalevents/default.nix | 27 ++++++------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/pkgs/development/python-modules/icalevents/default.nix b/pkgs/development/python-modules/icalevents/default.nix index 32e4972e1add9..76252ba972694 100644 --- a/pkgs/development/python-modules/icalevents/default.nix +++ b/pkgs/development/python-modules/icalevents/default.nix @@ -2,19 +2,19 @@ lib, buildPythonPackage, fetchFromGitHub, - fetchpatch2, pythonOlder, pytestCheckHook, poetry-core, - httplib2, icalendar, + pook, python-dateutil, pytz, + urllib3, }: buildPythonPackage rec { pname = "icalevents"; - version = "0.1.29"; + version = "0.2.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -23,36 +23,25 @@ buildPythonPackage rec { owner = "jazzband"; repo = "icalevents"; tag = "v${version}"; - hash = "sha256-Bp+Wz88q65Gem8LyRz0A4xE5hIgOD+iZ7E1UlnfFiD4="; + hash = "sha256-xIio+zJtIa0mM7aHFHm1QW36hww82h4A1YWaWUCxx14="; }; - patches = [ - (fetchpatch2 { - name = "icalendar-v6-compat.patch"; - url = "https://github.com/jazzband/icalevents/commit/fa925430bd63e46b0941b84a1ae2c9a063f2f720.patch"; - hash = "sha256-MeRC3iJ5raKvl9udzv/44Vs34LxSzq1S6VVKAVFSpiY="; - }) - ]; - build-system = [ poetry-core ]; dependencies = [ - httplib2 icalendar python-dateutil pytz + urllib3 ]; - pythonRelaxDeps = [ - "httplib2" - "icalendar" - "pytz" + nativeCheckInputs = [ + pook + pytestCheckHook ]; - nativeCheckInputs = [ pytestCheckHook ]; - disabledTests = [ # Makes HTTP calls "test_events_url"