Files
nixpkgs/pkgs/development/python-modules/icalendar/no-dynamic-version.patch

16 lines
459 B
Diff

diff --git a/pyproject.toml b/pyproject.toml
index 50aa183b..3a190385 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -36,9 +36,7 @@ maintainers = [
{ name="Jaca", email="vitouejj@gmail.com" },
]
# These attributes are dynamically generated by hatch-vcs
-dynamic = [
- "version"
-]
+version = "@version@"
description = "RFC 5545 compatible parser and generator of iCalendar files"
readme = { file = "README.rst", content-type = "text/x-rst" }