diff --git a/pkgs/development/python-modules/icalendar/default.nix b/pkgs/development/python-modules/icalendar/default.nix index c6523be27e13..418342da74c9 100644 --- a/pkgs/development/python-modules/icalendar/default.nix +++ b/pkgs/development/python-modules/icalendar/default.nix @@ -9,25 +9,18 @@ tzdata, hypothesis, pytestCheckHook, - sphinxHook, - sphinx-copybutton, - pydata-sphinx-theme, }: buildPythonPackage rec { - version = "6.3.2"; + version = "7.1.2"; pname = "icalendar"; pyproject = true; - outputs = [ - "out" - "doc" - ]; src = fetchFromGitHub { owner = "collective"; repo = "icalendar"; tag = "v${version}"; - hash = "sha256-EnG6zPaKKTgLw2DxWOyBkxlFuqtURpBlxy1aoZjX/TQ="; + hash = "sha256-y6t27/l2jnNr6/VlGuXlE2BcNDPOd0wscyCMpRY4+MM="; }; patches = [ @@ -46,12 +39,6 @@ buildPythonPackage rec { tzdata ]; - nativeBuildInputs = [ - sphinxHook - sphinx-copybutton - pydata-sphinx-theme - ]; - nativeCheckInputs = [ hypothesis pytestCheckHook @@ -61,8 +48,6 @@ buildPythonPackage rec { # AssertionError: assert {'Atlantic/Jan_Mayen'} == {'Arctic/Longyearbyen'} "test_dateutil_timezone_is_matched_with_tzname" "test_docstring_of_python_file" - # AssertionError: assert $TZ not in set() - "test_add_missing_timezones_to_example" ]; enabledTestPaths = [ "src/icalendar" ]; diff --git a/pkgs/development/python-modules/icalendar/no-dynamic-version.patch b/pkgs/development/python-modules/icalendar/no-dynamic-version.patch index 4754b6441a5f..0703c6126cbc 100644 --- a/pkgs/development/python-modules/icalendar/no-dynamic-version.patch +++ b/pkgs/development/python-modules/icalendar/no-dynamic-version.patch @@ -1,17 +1,15 @@ diff --git a/pyproject.toml b/pyproject.toml -index 9730e46..9834686 100644 +index 50aa183b..3a190385 100644 --- a/pyproject.toml +++ b/pyproject.toml -@@ -34,11 +34,7 @@ maintainers = [ - { name="Christian Geier" }, +@@ -36,9 +36,7 @@ maintainers = [ { name="Jaca", email="vitouejj@gmail.com" }, ] --# These attributes are dynamically generated by hatch-vcs + # These attributes are dynamically generated by hatch-vcs -dynamic = [ -- "urls", - "version" -] +version = "@version@" - description = "iCalendar parser/generator" + description = "RFC 5545 compatible parser and generator of iCalendar files" readme = { file = "README.rst", content-type = "text/x-rst" }