2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab, glib, gettext, substituteAll, gnome-menus }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-05-28 09:39:13 +00:00
|
|
|
pname = "gnome-shell-extension-arcmenu";
|
2022-01-07 04:07:37 +00:00
|
|
|
version = "20";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
2021-02-16 17:04:54 +00:00
|
|
|
owner = "arcmenu";
|
|
|
|
repo = "ArcMenu";
|
|
|
|
rev = "v${version}";
|
2022-01-07 04:07:37 +00:00
|
|
|
sha256 = "sha256-HjhOZfXld0gnKOAazT8qbI0Jdq6NY/FsrhzAY9uxxMg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./fix_gmenu.patch;
|
|
|
|
gmenu_path = "${gnome-menus}/lib/girepository-1.0";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib gettext
|
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [ "INSTALLBASE=${placeholder "out"}/share/gnome-shell/extensions" ];
|
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
passthru = {
|
|
|
|
extensionUuid = "arcmenu@arcmenu.com";
|
|
|
|
extensionPortalSlug = "arcmenu";
|
|
|
|
};
|
2020-05-15 21:57:56 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-02-16 17:04:54 +00:00
|
|
|
description = "Application menu for GNOME Shell, designed to provide a more traditional user experience and workflow";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ dkabot ];
|
2021-02-16 17:04:54 +00:00
|
|
|
homepage = "https://gitlab.com/arcmenu/ArcMenu";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|