2 , buildPythonApplication
5 , gobject-introspection
22 buildPythonApplication rec {
29 inherit pname version;
30 sha256 = "sha256-+qqsSLjdY2I19fxdfkOEQ9DhTTHccUDll4O5yqtLiz0=";
40 # Setting gobject-introspection on booth nativeBuildInputs and
41 # buildInputs because of #56943. This recognizes pango, avoiding
42 # a "ValueError: Namespace PangoCairo not available".
49 propagatedBuildInputs = [
58 desktopItems = makeDesktopItem {
62 comment = meta.description;
63 desktopName = "Gaphor";
66 # We need to wrap it manually to resolve all icons
70 install -Dm644 $out/${python.sitePackages}/gaphor/ui/icons/hicolor/scalable/apps/org.gaphor.Gaphor.svg $out/share/pixmaps/gaphor.svg
74 wrapProgram $out/bin/gaphor \
75 ''${gappsWrapperArgs[@]} \
76 --prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/" \
77 --set GDK_PIXBUF_MODULE_FILE "${librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache"
81 description = "Simple modeling tool written in Python";
82 maintainers = with maintainers; [ wolfangaukang ];
83 homepage = "https://github.com/gaphor/gaphor";
84 license = licenses.asl20;
85 platforms = [ "x86_64-linux" ];