Merge pull request #208874 from jtojnar/gsv-nix-highlight

gtksourceview5: Add Nix syntax highlighting

authored by

Jan Tojnar and committed by
GitHub
a736c4a4 f6371b25

+8
+8
pkgs/development/libraries/gtksourceview/5.x.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchurl 4 + , fetchpatch2 4 5 , meson 5 6 , ninja 6 7 , pkg-config ··· 37 38 # but not from its own datadr (it assumes it will be in XDG_DATA_DIRS). 38 39 # Since this is not generally true with Nix, let’s add $out/share unconditionally. 39 40 ./4.x-nix_share_path.patch 41 + 42 + # Add Nix syntax highlighting. 43 + # https://gitlab.gnome.org/GNOME/gtksourceview/-/merge_requests/303 44 + (fetchpatch2 { 45 + url = "https://gitlab.gnome.org/GNOME/gtksourceview/-/commit/2cc7fd079f9fc8b593c727c68a2c783c82299562.patch"; 46 + sha256 = "bTYWjEDpdbnUxcYNKl2YtSLfYlMfcbQSSYQjhixOGS8="; 47 + }) 40 48 ]; 41 49 42 50 nativeBuildInputs = [