mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
Merge pull request #67964 from dkabot/arc-menu_init
gnomeExtensions.arc-menu: init at 31
This commit is contained in:
commit
4a220b64b4
@ -1633,6 +1633,12 @@
|
||||
githubId = 10913120;
|
||||
name = "Dje4321";
|
||||
};
|
||||
dkabot = {
|
||||
email = "dkabot@dkabot.com";
|
||||
github = "dkabot";
|
||||
githubId = 1316469;
|
||||
name = "Naomi Morse";
|
||||
};
|
||||
dmalikov = {
|
||||
email = "malikov.d.y@gmail.com";
|
||||
github = "dmalikov";
|
||||
|
33
pkgs/desktops/gnome-3/extensions/arc-menu/default.nix
Normal file
33
pkgs/desktops/gnome-3/extensions/arc-menu/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv, fetchFromGitLab, glib, gettext, substituteAll, gnome-menus }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-shell-arc-menu";
|
||||
version = "31";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "LinxGem33";
|
||||
repo = "Arc-Menu";
|
||||
rev = "v${version}-stable";
|
||||
sha256 = "124jgdy6mw76nrkq3f0y7qkhdm39wg273zifdvwbgpvirwzxbia1";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./fix_gmenu.patch;
|
||||
gmenu_path = "${gnome-menus}/lib/girepository-1.0";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib gettext
|
||||
];
|
||||
|
||||
makeFlags = [ "INSTALL_BASE=$(out)/share/gnome-shell/extensions" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Gnome shell extension designed to replace the standard menu found in Gnome 3";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ dkabot ];
|
||||
homepage = https://gitlab.com/LinxGem33/Arc-Menu;
|
||||
};
|
||||
}
|
12
pkgs/desktops/gnome-3/extensions/arc-menu/fix_gmenu.patch
Normal file
12
pkgs/desktops/gnome-3/extensions/arc-menu/fix_gmenu.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- a/extension.js
|
||||
+++ b/extension.js
|
||||
@@ -29,6 +29,8 @@
|
||||
* https://github.com/The-Panacea-Projects/Gnomenu
|
||||
*/
|
||||
|
||||
+
|
||||
+imports.gi.GIRepository.Repository.prepend_search_path('@gmenu_path@');
|
||||
|
||||
// Import Libraries
|
||||
const Main = imports.ui.main;
|
||||
|
@ -22646,6 +22646,7 @@ in
|
||||
|
||||
gnomeExtensions = recurseIntoAttrs {
|
||||
appindicator = callPackage ../desktops/gnome-3/extensions/appindicator { };
|
||||
arc-menu = callPackage ../desktops/gnome-3/extensions/arc-menu { };
|
||||
battery-status = callPackage ../desktops/gnome-3/extensions/battery-status { };
|
||||
caffeine = callPackage ../desktops/gnome-3/extensions/caffeine { };
|
||||
clipboard-indicator = callPackage ../desktops/gnome-3/extensions/clipboard-indicator { };
|
||||
|
Loading…
Reference in New Issue
Block a user