From c6409268aaf79f9d6902bcf39b4ef2cba6a3969b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 10 Sep 2024 02:08:46 +0000 Subject: [PATCH 1/2] python312Packages.html2image: 2.0.4.3 -> 2.0.5 --- pkgs/development/python-modules/html2image/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/html2image/default.nix b/pkgs/development/python-modules/html2image/default.nix index 4d7252b1c305..c53b9280eb59 100644 --- a/pkgs/development/python-modules/html2image/default.nix +++ b/pkgs/development/python-modules/html2image/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "html2image"; - version = "2.0.4.3"; + version = "2.0.5"; pyproject = true; src = fetchFromGitHub { owner = "vgalin"; repo = "html2image"; - rev = version; - hash = "sha256-BDl2Kibp1WOAOYNlXa2aaEgQTitk+OZu72OgytciZYI="; + rev = "refs/tags/${version}"; + hash = "sha256-k5y89nUF+fhUj9uzTAPkkAdOb2TsTL2jm/ZXwHlxu/A="; }; postPatch = '' From e521ac602864c397b6afee82fa553dacae563c55 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 10 Sep 2024 10:34:15 +0200 Subject: [PATCH 2/2] python312Packages.html2image: refactor --- pkgs/development/python-modules/html2image/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/html2image/default.nix b/pkgs/development/python-modules/html2image/default.nix index c53b9280eb59..bcf78da3db8f 100644 --- a/pkgs/development/python-modules/html2image/default.nix +++ b/pkgs/development/python-modules/html2image/default.nix @@ -21,13 +21,13 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ - --replace poetry.masonry.api poetry.core.masonry.api \ - --replace "poetry>=" "poetry-core>=" + --replace-fail poetry.masonry.api poetry.core.masonry.api \ + --replace-fail "poetry>=" "poetry-core>=" ''; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ requests websocket-client ];