Files
nixpkgs/pkgs/development/python-modules/diagrams/0001-Add-build-system-section.patch
T
Nick Bathum 51eefea4e0 python3Packages.diagrams: fix add missing pngs
Pull in resource folder when poetry builds the wheel

Fixes #406527

Vendor 'Add build-system section' patch per vendoring policy
2025-10-27 10:41:16 -04:00

22 lines
546 B
Diff

From 59b84698b142f5a0998ee9e395df717a1b77e9b2 Mon Sep 17 00:00:00 2001
From: Fabian Affolter <mail@fabian-affolter.ch>
Date: Wed, 1 Jan 2025 21:57:06 +0100
Subject: [PATCH] Add build-system section
---
pyproject.toml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/pyproject.toml b/pyproject.toml
index bcb1e65e3..00dc374fe 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -28,3 +28,7 @@ black = "^24.4"
[tool.black]
line-length=120
+
+[build-system]
+requires = ["poetry_core>=1.0.0"]
+build-backend = "poetry.core.masonry.api"