nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

python312Packages.icalendar: 5.0.13 -> 6.0.0

Diff: https://github.com/collective/icalendar/compare/refs/tags/v5.0.13...v6.0.0

Changelog: https://github.com/collective/icalendar/blob/v6.0.0/CHANGES.rst

+34 -6
+17 -6
pkgs/development/python-modules/icalendar/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 + replaceVars, 5 6 pythonOlder, 6 - setuptools, 7 + hatch-vcs, 8 + hatchling, 7 9 backports-zoneinfo, 8 10 python-dateutil, 9 - pytz, 11 + tzdata, 10 12 hypothesis, 11 13 pytestCheckHook, 12 14 }: 13 15 14 16 buildPythonPackage rec { 15 - version = "5.0.13"; 17 + version = "6.0.0"; 16 18 pname = "icalendar"; 17 19 pyproject = true; 18 20 ··· 22 20 owner = "collective"; 23 21 repo = "icalendar"; 24 22 rev = "refs/tags/v${version}"; 25 - hash = "sha256-2gpWfLXR4HThw23AWxY2rY9oiK6CF3Qiad8DWHCs4Qk="; 23 + hash = "sha256-eWFDY/pNVfcUk3PfB0vXqh9swuSGtflUw44IMDJI+yI="; 26 24 }; 27 25 28 - build-system = [ setuptools ]; 26 + patches = [ 27 + (replaceVars ./no-dynamic-version.patch { 28 + inherit version; 29 + }) 30 + ]; 31 + 32 + build-system = [ 33 + hatch-vcs 34 + hatchling 35 + ]; 29 36 30 37 dependencies = [ 31 38 python-dateutil 32 - pytz 39 + tzdata 33 40 ] ++ lib.optionals (pythonOlder "3.9") [ backports-zoneinfo ]; 34 41 35 42 nativeCheckInputs = [
+17
pkgs/development/python-modules/icalendar/no-dynamic-version.patch
··· 1 + diff --git a/pyproject.toml b/pyproject.toml 2 + index 9730e46..9834686 100644 3 + --- a/pyproject.toml 4 + +++ b/pyproject.toml 5 + @@ -34,11 +34,7 @@ maintainers = [ 6 + { name="Christian Geier" }, 7 + { name="Jaca", email="vitouejj@gmail.com" }, 8 + ] 9 + -# These attributes are dynamically generated by hatch-vcs 10 + -dynamic = [ 11 + - "urls", 12 + - "version" 13 + -] 14 + +version = "@version@" 15 + description = "iCalendar parser/generator" 16 + readme = { file = "README.rst", content-type = "text/x-rst" } 17 +