summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-03-24 07:00:37 +0100
committerMartin Fischer <martin@push-f.com>2025-03-24 07:06:16 +0100
commit078800915f37bacaf802fea9a9898af5451bd4da (patch)
tree766621488079661e667d4388fbd102c1deeceacb
parente451a31ed7a0d5fa268a2065906c6fb803e6ae26 (diff)
fix(nix): make nix-build work on NixOS 24.11
For Python 3.13 NixOS 24.11 has setuptools==75.8.2, which doesn't yet support the new license format.
-rw-r--r--pyproject.toml7
1 files changed, 5 insertions, 2 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 7640b73..ae3b93d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -12,12 +12,15 @@ classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
-license = "MIT"
-license-files = ["LICENSE"]
+license = { file = "LICENSE" }
[project.urls]
repository = "https://git.push-f.com/logformat"
+[build-system]
+requires = ["setuptools>=61.0"]
+build-backend = "setuptools.build_meta"
+
[tool.setuptools]
packages = ["logformat"]