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"