diff options
author | Bobby Rong <rjl931189261@126.com> | 2024-04-30 19:53:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-30 19:53:41 +0800 |
commit | 705bad7ed6014a9957cb43e426e310f581ca1100 (patch) | |
tree | 9e2e99c2da087cf300cf78c4dcef1bb9c511427f /pkgs/by-name/li | |
parent | 2b05adee2cb17c08faa9b99c582f5b7f34f5352e (diff) | |
parent | d062f067d87f975951252a04c88da1126e9d2a3d (diff) |
Merge pull request #307483 from r-ryantm/auto-update/libgedit-gtksourceview
gedit 47.0, libgedit-gtksourceview 299.2.1, libgedit-tepl 6.10.0
Diffstat (limited to 'pkgs/by-name/li')
-rw-r--r-- | pkgs/by-name/li/libgedit-gfls/package.nix | 55 | ||||
-rw-r--r-- | pkgs/by-name/li/libgedit-gtksourceview/package.nix | 4 | ||||
-rw-r--r-- | pkgs/by-name/li/libgedit-tepl/package.nix | 63 |
3 files changed, 120 insertions, 2 deletions
diff --git a/pkgs/by-name/li/libgedit-gfls/package.nix b/pkgs/by-name/li/libgedit-gfls/package.nix new file mode 100644 index 0000000000000..8964898851cf9 --- /dev/null +++ b/pkgs/by-name/li/libgedit-gfls/package.nix @@ -0,0 +1,55 @@ +{ stdenv +, lib +, fetchFromGitHub +, docbook-xsl-nons +, gobject-introspection +, gtk-doc +, meson +, ninja +, pkg-config +, mesonEmulatorHook +, gtk3 +, glib +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "libgedit-gfls"; + version = "0.1.0"; + + outputs = [ "out" "dev" "devdoc" ]; + + src = fetchFromGitHub { + owner = "gedit-technology"; + repo = "libgedit-gfls"; + rev = finalAttrs.version; + hash = "sha256-tES8UGWcCT8lRd/fnOt9EN3wHkNSLRM4j8ONrCDPBK0="; + }; + + nativeBuildInputs = [ + docbook-xsl-nons + gobject-introspection + gtk-doc + meson + ninja + pkg-config + ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ + mesonEmulatorHook + ]; + + buildInputs = [ + gtk3 + ]; + + propagatedBuildInputs = [ + # Required by libgedit-gfls-1.pc + glib + ]; + + meta = { + homepage = "https://github.com/gedit-technology/libgedit-gfls"; + description = "Module dedicated to file loading and saving"; + maintainers = with lib.maintainers; [ bobby285271 ]; + license = lib.licenses.lgpl3Plus; + platforms = lib.platforms.linux; + }; +}) diff --git a/pkgs/by-name/li/libgedit-gtksourceview/package.nix b/pkgs/by-name/li/libgedit-gtksourceview/package.nix index 3de70506f3301..70b3fb276e954 100644 --- a/pkgs/by-name/li/libgedit-gtksourceview/package.nix +++ b/pkgs/by-name/li/libgedit-gtksourceview/package.nix @@ -16,7 +16,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "libgedit-gtksourceview"; - version = "299.0.5"; + version = "299.2.1"; outputs = [ "out" "dev" "devdoc" ]; @@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "gedit-technology"; repo = "libgedit-gtksourceview"; rev = finalAttrs.version; - hash = "sha256-PQ7cpul9h1JzywDWm9YyD95B1ONSdUUk0EQJMEGoRN0="; + hash = "sha256-fmYIZvsB3opstpPEd9vahcD9yUZKPBpSIrlNDs+eCdw="; }; patches = [ diff --git a/pkgs/by-name/li/libgedit-tepl/package.nix b/pkgs/by-name/li/libgedit-tepl/package.nix new file mode 100644 index 0000000000000..5c2c84ac9a408 --- /dev/null +++ b/pkgs/by-name/li/libgedit-tepl/package.nix @@ -0,0 +1,63 @@ +{ stdenv +, lib +, fetchFromGitHub +, meson +, mesonEmulatorHook +, ninja +, gobject-introspection +, gtk3 +, icu +, libhandy +, libgedit-amtk +, libgedit-gfls +, libgedit-gtksourceview +, pkg-config +, gtk-doc +, docbook-xsl-nons +}: + +stdenv.mkDerivation rec { + pname = "libgedit-tepl"; + version = "6.10.0"; + + outputs = [ "out" "dev" "devdoc" ]; + + src = fetchFromGitHub { + owner = "gedit-technology"; + repo = "libgedit-tepl"; + rev = version; + hash = "sha256-lGmOaDNu+iqwpeaP0AL28exoTqx1j03Z8gdhTBgk1i8="; + }; + + strictDeps = true; + nativeBuildInputs = [ + meson + ninja + gobject-introspection + pkg-config + gtk-doc + docbook-xsl-nons + ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ + mesonEmulatorHook + ]; + + buildInputs = [ + icu + libhandy + ]; + + propagatedBuildInputs = [ + gtk3 + libgedit-amtk + libgedit-gfls + libgedit-gtksourceview + ]; + + meta = with lib; { + homepage = "https://github.com/gedit-technology/libgedit-tepl"; + description = "Text editor product line"; + maintainers = with maintainers; [ manveru bobby285271 ]; + license = licenses.lgpl3Plus; + platforms = platforms.linux; + }; +} |