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";
|
2021-05-20 23:08:51 +00:00
|
|
|
version = "10";
|
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}";
|
2021-05-20 23:08:51 +00:00
|
|
|
sha256 = "04kn3gnjz1wakp0pyiwm0alf0pwsralhis36miif9i6l5iv6a394";
|
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-02-16 17:04:54 +00:00
|
|
|
uuid = "arcmenu@arcmenu.com";
|
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
|
|
|
};
|
|
|
|
}
|