nixpkgs/pkgs/desktops/gnome/extensions/arcmenu/default.nix

39 lines
984 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitLab, glib, gettext, substituteAll, gnome-menus }:
2019-09-02 22:20:44 +02:00
stdenv.mkDerivation rec {
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
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";
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
};
}