diff --git a/pkgs/applications/misc/gnome-extension-manager/default.nix b/pkgs/applications/misc/gnome-extension-manager/default.nix new file mode 100644 index 000000000000..bcc66b19cf2b --- /dev/null +++ b/pkgs/applications/misc/gnome-extension-manager/default.nix @@ -0,0 +1,67 @@ +{ stdenv +, lib +, fetchFromGitHub +, wrapGAppsHook4 +, libadwaita +, meson +, ninja +, gettext +, gtk4 +, appstream-glib +, desktop-file-utils +, gobject-introspection +, blueprint-compiler +, pkg-config +, json-glib +, libsoup_3 +, glib +, libbacktrace +, python3 +, text-engine +}: + +stdenv.mkDerivation rec { + pname = "gnome-extension-manager"; + version = "0.4.0"; + + src = fetchFromGitHub { + owner = "mjakeman"; + repo = "extension-manager"; + rev = "v${version}"; + sha256 = "sha256-M+jMEJXtzUP6dQp9vpyMhh1wuKG9YJ8i0ys92nbmmpw="; + }; + + nativeBuildInputs = [ + appstream-glib + desktop-file-utils + gettext + glib + gobject-introspection + libadwaita + meson + ninja + pkg-config + python3 + wrapGAppsHook4 + ]; + + buildInputs = [ + blueprint-compiler + gtk4 + json-glib + libsoup_3 + libbacktrace + text-engine + ]; + + # See https://github.com/NixOS/nixpkgs/issues/36468. + mesonFlags = [ "-Dc_args=-I${glib.dev}/include/gio-unix-2.0" ]; + + meta = with lib; { + description = "Desktop app for managing GNOME shell extensions"; + homepage = "https://github.com/mjakeman/extension-manager"; + license = licenses.gpl3Plus; + platforms = platforms.linux; + maintainers = with maintainers; [ foo-dogsquared ]; + }; +} diff --git a/pkgs/development/libraries/text-engine/default.nix b/pkgs/development/libraries/text-engine/default.nix new file mode 100644 index 000000000000..f578ae000baf --- /dev/null +++ b/pkgs/development/libraries/text-engine/default.nix @@ -0,0 +1,34 @@ +{ stdenv +, lib +, fetchFromGitHub +, meson +, ninja +, json-glib +, gtk4 +, libxml2 +, gobject-introspection +, pkg-config +, libadwaita +}: + +stdenv.mkDerivation rec { + pname = "text-engine"; + version = "0.1.1"; + src = fetchFromGitHub { + owner = "mjakeman"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-YSG4Vk3hrmtaJkK1WAlQcdgiDdgC4Un0t6UdaoIcUes="; + }; + + nativeBuildInputs = [ gobject-introspection gtk4 meson ninja pkg-config ]; + + buildInputs = [ libadwaita json-glib libxml2 ]; + + meta = with lib; { + description = "Rich text framework for GTK"; + homepage = "https://github.com/mjakeman/text-engine"; + license = with licenses; [ mpl20 lgpl21Plus ]; + maintainers = with maintainers; [ foo-dogsquared ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d756f73ba656..b4a518f5a3dc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7153,6 +7153,8 @@ with pkgs; gst-plugins-bad = gst_all_1.gst-plugins-bad.override { enableZbar = true; }; }; + gnome-extension-manager = callPackage ../applications/misc/gnome-extension-manager { }; + gnome-feeds = callPackage ../applications/networking/feedreaders/gnome-feeds {}; gnome-frog = callPackage ../applications/misc/gnome-frog { }; @@ -22328,6 +22330,8 @@ with pkgs; tet = callPackage ../development/tools/misc/tet { }; + text-engine = callPackage ../development/libraries/text-engine { }; + the-foundation = callPackage ../development/libraries/the-foundation { }; theft = callPackage ../development/libraries/theft { };