Merge pull request #182210 from foo-dogsquared/gnome-extension-manager

gnome-extension-manager: init at 0.4.0
This commit is contained in:
Florian Klink 2022-10-17 14:20:10 +02:00 committed by GitHub
commit 24312ec527
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 105 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -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 ];
};
}

View file

@ -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 { };