diff --git a/pkgs/by-name/gn/gnome-extension-manager/package.nix b/pkgs/by-name/gn/gnome-extension-manager/package.nix index 46ba29a2c73d6..c9b30dc620501 100644 --- a/pkgs/by-name/gn/gnome-extension-manager/package.nix +++ b/pkgs/by-name/gn/gnome-extension-manager/package.nix @@ -1,36 +1,37 @@ { - stdenv, lib, + stdenv, fetchFromGitHub, - wrapGAppsHook4, - libadwaita, - meson, - ninja, - gettext, - gtk4, + appstream, appstream-glib, desktop-file-utils, + gettext, + glib, gobject-introspection, - blueprint-compiler, + meson, + ninja, pkg-config, + wrapGAppsHook4, + + blueprint-compiler, + gtk4, json-glib, - libsoup_3, - glib, + libadwaita, libbacktrace, - text-engine, - fetchpatch, + libsoup_3, + libxml2, }: stdenv.mkDerivation rec { pname = "gnome-extension-manager"; - version = "0.5.1"; + version = "0.6.0"; src = fetchFromGitHub { owner = "mjakeman"; repo = "extension-manager"; rev = "v${version}"; - hash = "sha256-PWpnLtzQDF2Is63CY9bNzYSo+MiA2oxzJi7B4nQZ7v8="; + hash = "sha256-AotIzFCx4k7XLdk+2eFyJgrG97KC1wChnSlpLdk90gE="; }; nativeBuildInputs = [ @@ -51,17 +52,9 @@ stdenv.mkDerivation rec { gtk4 json-glib libadwaita - libsoup_3 libbacktrace - text-engine - ]; - - patches = [ - # fix black window when opened, remove in next release - (fetchpatch { - url = "https://github.com/mjakeman/extension-manager/commit/91d1c42a30e12131dc3c5afd8a709e7db2a95b70.patch"; - hash = "sha256-NtsJeqclUx4L3wbyQ46ZCoo4IKSu4/HoT/FD20xriZ4="; - }) + libsoup_3 + libxml2 ]; mesonFlags = [ @@ -69,12 +62,12 @@ stdenv.mkDerivation rec { (lib.mesonOption "distributor" "nixpkgs") ]; - meta = with lib; { + meta = { description = "Desktop app for managing GNOME shell extensions"; homepage = "https://github.com/mjakeman/extension-manager"; - license = licenses.gpl3Plus; - platforms = platforms.linux; + license = lib.licenses.gpl3Plus; + platforms = lib.platforms.linux; mainProgram = "extension-manager"; - maintainers = with maintainers; [ foo-dogsquared ]; + maintainers = with lib.maintainers; [ foo-dogsquared ]; }; }