Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
38 lines
982 B
Nix
38 lines
982 B
Nix
{ lib, stdenv, fetchFromGitLab, glib, gettext, substituteAll, gnome-menus }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnome-shell-extension-arcmenu";
|
|
version = "55";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "arcmenu";
|
|
repo = "ArcMenu";
|
|
rev = "v${version}";
|
|
hash = "sha256-xLKvcrZkqcj7aHiv9JumLWSP5LbajITAyopCIwGqpkE=";
|
|
};
|
|
|
|
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" ];
|
|
|
|
passthru = {
|
|
extensionUuid = "arcmenu@arcmenu.com";
|
|
extensionPortalSlug = "arcmenu";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Application menu for GNOME Shell, designed to provide a more traditional user experience and workflow";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ dkabot ];
|
|
homepage = "https://gitlab.com/arcmenu/ArcMenu";
|
|
};
|
|
}
|