2019-09-02 21:20:44 +01:00
|
|
|
{ stdenv, fetchFromGitLab, glib, gettext, substituteAll, gnome-menus }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-shell-arc-menu";
|
2020-03-08 14:07:39 +00:00
|
|
|
version = "43";
|
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";
|
2020-03-08 14:07:39 +00:00
|
|
|
sha256 = "1rspl89bxqy0wla8cj0h1d29gp38xg1vmvhc1qg7bl46ank4yp5q";
|
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
|
|
|
|
];
|
|
|
|
|
2020-03-08 14:07:39 +00:00
|
|
|
makeFlags = [ "INSTALLBASE=${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 ];
|
2020-03-08 14:07:39 +00:00
|
|
|
homepage = "https://gitlab.com/LinxGem33/Arc-Menu";
|
2019-09-02 21:20:44 +01:00
|
|
|
};
|
|
|
|
}
|