From b84809fbcaf0bbf2cb078c311a3eef75e6b21305 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 18 Aug 2025 19:57:16 +0200 Subject: [PATCH] python313Packages.html2image: update build-system --- pkgs/development/python-modules/html2image/default.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/html2image/default.nix b/pkgs/development/python-modules/html2image/default.nix index bca718a33311..b6990aa5ca9a 100644 --- a/pkgs/development/python-modules/html2image/default.nix +++ b/pkgs/development/python-modules/html2image/default.nix @@ -2,7 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, - poetry-core, + hatchling, requests, websocket-client, }: @@ -19,13 +19,7 @@ buildPythonPackage rec { hash = "sha256-qGp6i4fNmduTZfdxNvYJTAQV/Ovm3XFNOJ8uSj6Ipic="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail poetry.masonry.api poetry.core.masonry.api \ - --replace-fail "poetry>=" "poetry-core>=" - ''; - - build-system = [ poetry-core ]; + build-system = [ hatchling ]; dependencies = [ requests