2019-09-02 21:20:44 +01:00
|
|
|
{ stdenv, fetchFromGitLab, glib, gettext, substituteAll, gnome-menus }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-shell-arc-menu";
|
2019-10-06 18:25:25 +01:00
|
|
|
version = "33";
|
2019-09-02 21:20:44 +01:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "LinxGem33";
|
|
|
|
repo = "Arc-Menu";
|
2019-10-06 18:25:25 +01:00
|
|
|
rev = "v${version}-Stable";
|
|
|
|
sha256 = "0ncb19jlwy2y9jcj8g6cdbasdv6n7hm96qv9l251z6qgrmg28x4z";
|
2019-09-02 21:20:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./fix_gmenu.patch;
|
|
|
|
gmenu_path = "${gnome-menus}/lib/girepository-1.0";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib gettext
|
|
|
|
];
|
|
|
|
|
2019-09-23 23:49:23 +01:00
|
|
|
makeFlags = [ "INSTALL_BASE=${placeholder "out"}/share/gnome-shell/extensions" ];
|
2019-09-02 21:20:44 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Gnome shell extension designed to replace the standard menu found in Gnome 3";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ dkabot ];
|
|
|
|
homepage = https://gitlab.com/LinxGem33/Arc-Menu;
|
|
|
|
};
|
|
|
|
}
|