2 , buildPythonApplication
5 , gobject-introspection
29 buildPythonApplication rec {
35 inherit pname version;
36 hash = "sha256-MsbEeOop6Osq2Hn6CkorsXt8/bTY//QHW/uCl0FEUN4=";
39 pythonRelaxDeps = [ "defusedxml" ];
53 build-system = [ poetry-core ];
75 comment = meta.description;
76 desktopName = "Gaphor";
80 # Disable automatic wrapGAppsHook4 to prevent double wrapping
84 install -Dm644 $out/${python.sitePackages}/gaphor/ui/icons/hicolor/scalable/apps/org.gaphor.Gaphor.svg $out/share/pixmaps/gaphor.svg
89 "''${gappsWrapperArgs[@]}" \
90 --prefix XDG_DATA_DIRS : "${gtk4}/share/gsettings-schemas/${gtk4.name}/" \
91 --set GDK_PIXBUF_MODULE_FILE "${librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache"
96 description = "Simple modeling tool written in Python";
98 homepage = "https://github.com/gaphor/gaphor";
99 license = licenses.asl20;
100 platforms = lib.platforms.linux;