python312Packages.shippinglabel: fix build

This commit is contained in:
Grimmauld
2025-04-05 11:28:58 +02:00
parent 5ee4400636
commit 245ad604c4
@@ -6,6 +6,8 @@
dist-meta,
dom-toml,
domdf-python-tools,
hatchling,
hatch-requirements-txt,
packaging,
typing-extensions,
}:
@@ -27,13 +29,10 @@ buildPythonPackage rec {
domdf-python-tools
packaging
typing-extensions
hatchling
hatch-requirements-txt
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail '"setuptools!=61.*,<=67.1.0,>=40.6.0"' '"setuptools"'
'';
meta = {
description = "Utilities for handling packages.";
homepage = "https://github.com/domdfcoding/shippinglabel";