2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab, glib, gettext, substituteAll, gnome-menus }:
|
2019-09-02 20:20:44 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-05-24 20:01:59 +00:00
|
|
|
pname = "gnome-shell-extension-arcmenu";
|
2022-03-03 20:27:58 +00:00
|
|
|
version = "24";
|
2019-09-02 20:20:44 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
2021-02-14 12:25:00 +00:00
|
|
|
owner = "arcmenu";
|
|
|
|
repo = "ArcMenu";
|
|
|
|
rev = "v${version}";
|
2022-03-03 20:27:58 +00:00
|
|
|
sha256 = "sha256-GbZt6JC+uAPkb4GU1Q7WRJ6Pf95Uh48cYwvoTgLimHs=";
|
2019-09-02 20:20:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./fix_gmenu.patch;
|
|
|
|
gmenu_path = "${gnome-menus}/lib/girepository-1.0";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib gettext
|
|
|
|
];
|
|
|
|
|
2020-03-08 14:07:39 +00:00
|
|
|
makeFlags = [ "INSTALLBASE=${placeholder "out"}/share/gnome-shell/extensions" ];
|
2019-09-02 20:20:44 +00:00
|
|
|
|
2021-05-29 15:34:26 +00:00
|
|
|
passthru = {
|
|
|
|
extensionUuid = "arcmenu@arcmenu.com";
|
|
|
|
extensionPortalSlug = "arcmenu";
|
|
|
|
};
|
2018-08-30 09:09:58 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2021-02-14 12:54:17 +00:00
|
|
|
description = "Application menu for GNOME Shell, designed to provide a more traditional user experience and workflow";
|
2019-09-02 20:20:44 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ dkabot ];
|
2021-02-14 12:25:00 +00:00
|
|
|
homepage = "https://gitlab.com/arcmenu/ArcMenu";
|
2019-09-02 20:20:44 +00:00
|
|
|
};
|
|
|
|
}
|