Merge pull request #134734 from fabaff/fix-diagrams

This commit is contained in:
Sandro
2021-08-20 12:15:13 +02:00
committed by GitHub
@@ -27,7 +27,8 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'jinja2 = "^2.10"' 'jinja2 = "*"'
--replace 'jinja2 = "^2.10"' 'jinja2 = "*"' \
--replace 'graphviz = ">=0.13.2,<0.17.0"' 'graphviz = "*"'
'';
preConfigure = ''
@@ -35,7 +36,10 @@ buildPythonPackage rec {
./autogen.sh
'';
patches = [ ./build_poetry.patch ];
patches = [
# The build-system section is missing
./build_poetry.patch
];
checkInputs = [ pytestCheckHook ];
@@ -45,6 +49,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [ graphviz ];
pythonImportsCheck = [ "diagrams" ];
meta = with lib; {
description = "Diagram as Code";
homepage = "https://diagrams.mingrammer.com/";