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

36 lines
907 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-arcmenu";
version = "10";
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}";
sha256 = "04kn3gnjz1wakp0pyiwm0alf0pwsralhis36miif9i6l5iv6a394";
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
2021-02-14 13:25:00 +01:00
uuid = "arcmenu@arcmenu.com";
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
};
}