47 lines
984 B
Nix
47 lines
984 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitLab,
|
|
glib,
|
|
gettext,
|
|
replaceVars,
|
|
gnome-menus,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnome-shell-extension-arcmenu";
|
|
version = "69.2";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "arcmenu";
|
|
repo = "ArcMenu";
|
|
rev = "v${version}";
|
|
hash = "sha256-BdvFeoXwGxFlBH1JqcSDAKMzN+wBEmZdsz+gXWxQF6Y=";
|
|
};
|
|
|
|
patches = [
|
|
(replaceVars ./fix_gmenu.patch {
|
|
gmenu_path = "${gnome-menus}/lib/girepository-1.0";
|
|
})
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
gettext
|
|
];
|
|
|
|
makeFlags = [ "INSTALLBASE=${placeholder "out"}/share/gnome-shell/extensions" ];
|
|
|
|
passthru = {
|
|
extensionUuid = "arcmenu@arcmenu.com";
|
|
extensionPortalSlug = "arcmenu";
|
|
};
|
|
|
|
meta = {
|
|
description = "Application menu for GNOME Shell, designed to provide a more traditional user experience and workflow";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [ dkabot ];
|
|
homepage = "https://gitlab.com/arcmenu/ArcMenu";
|
|
};
|
|
}
|