10 buildPythonPackage rec {
15 src = fetchFromGitHub {
18 rev = "refs/tags/${version}";
19 hash = "sha256-k5y89nUF+fhUj9uzTAPkkAdOb2TsTL2jm/ZXwHlxu/A=";
23 substituteInPlace pyproject.toml \
24 --replace-fail poetry.masonry.api poetry.core.masonry.api \
25 --replace-fail "poetry>=" "poetry-core>="
28 build-system = [ poetry-core ];
35 pythonImportsCheck = [ "html2image" ];
38 description = "Package acting as a wrapper around the headless mode of existing web browsers to generate images from URLs and from HTML+CSS strings or files";
39 homepage = "https://github.com/vgalin/html2image";
40 changelog = "https://github.com/vgalin/html2image/releases/tag/${version}";
41 license = licenses.mit;
42 maintainers = with maintainers; [ happysalada ];