{ lib, buildPythonPackage, pythonOlder, fetchPypi, poetry-core, gobject-introspection, gtk3, pycairo, pygobject3, typing-extensions, }: buildPythonPackage rec { pname = "gaphas"; version = "4.0.0"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-x4CVY2i/SCjq/c1Xfx3gdx7jTims1aKd05ziN4DdE1g="; }; nativeBuildInputs = [ poetry-core gobject-introspection ]; buildInputs = [ gtk3 ]; propagatedBuildInputs = [ pycairo pygobject3 typing-extensions ]; pythonImportsCheck = [ "gaphas" ]; meta = with lib; { description = "GTK+ based diagramming widget"; homepage = "https://github.com/gaphor/gaphas"; changelog = "https://github.com/gaphor/gaphas/releases/tag/${version}"; license = licenses.asl20; maintainers = with maintainers; [ wolfangaukang ]; }; }