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