5 , gobject-introspection
17 stdenv.mkDerivation (finalAttrs: {
18 pname = "libgedit-gtksourceview";
21 outputs = [ "out" "dev" "devdoc" ];
23 src = fetchFromGitLab {
24 domain = "gitlab.gnome.org";
27 repo = "libgedit-gtksourceview";
28 rev = finalAttrs.version;
29 hash = "sha256-befm5UIXh2aCpKN2NH0aJhCYLf9j/ug0kVDAD5xNt4k=";
33 # By default, the library loads syntaxes from XDG_DATA_DIRS and user directory
34 # but not from its own datadr (it assumes it will be in XDG_DATA_DIRS).
35 # Since this is not generally true with Nix, let’s add $out/share unconditionally.
36 ./nix-share-path.patch
52 propagatedBuildInputs = [
53 # Required by libgedit-gtksourceview-300.pc
56 # Used by gtk_source_language_manager_guess_language
60 passthru.updateScript = gitUpdater { };
63 description = "Source code editing widget for GTK";
64 homepage = "https://gitlab.gnome.org/World/gedit/libgedit-gtksourceview";
65 license = licenses.lgpl21Plus;
66 maintainers = with maintainers; [ bobby285271 ];
67 platforms = platforms.linux;