1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, poetry-core 6, gobject-introspection 7, gtk3 8, pycairo 9, pygobject3 10, typing-extensions 11}: 12 13buildPythonPackage rec { 14 pname = "gaphas"; 15 version = "3.11.3"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-NpmNIwZqvWAJDkUEb6+GpfQaRCVtjQk4odkaOd2D2ok="; 23 }; 24 25 nativeBuildInputs = [ 26 poetry-core 27 gobject-introspection 28 ]; 29 30 buildInputs = [ 31 gtk3 32 ]; 33 34 propagatedBuildInputs = [ 35 pycairo 36 pygobject3 37 typing-extensions 38 ]; 39 40 pythonImportsCheck = [ 41 "gaphas" 42 ]; 43 44 meta = with lib; { 45 description = "GTK+ based diagramming widget"; 46 homepage = "https://github.com/gaphor/gaphas"; 47 changelog = "https://github.com/gaphor/gaphas/releases/tag/${version}"; 48 license = licenses.asl20; 49 maintainers = with maintainers; [ wolfangaukang ]; 50 }; 51}