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