2 , buildGoModule, pkg-config, wrapGAppsHook3, gobject-introspection
3 , gtk-layer-shell, gtk3, pango, gdk-pixbuf, atk
10 src = fetchFromGitHub {
14 sha256 = "sha256-PMW5QUUZcdWNOMexJVy0hYXx+y2AopT3WL29iWb9MbM=";
17 vendorHash = "sha256-PJvHDmyqE+eIELGRD8QHsZgZ7L0DKc2FYOvfvurzlhs=";
21 buildInputs = [ atk gtk3 gdk-pixbuf gtk-layer-shell pango ];
22 nativeBuildInputs = [ pkg-config wrapGAppsHook3 gobject-introspection ];
25 for file in main.go tools.go; do
26 substituteInPlace $file --replace '/usr/share/nwg-menu' $out/share
32 cp menu-start.css $out/share/
36 gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "$out/share")
40 homepage = "https://github.com/nwg-piotr/nwg-menu";
41 description = "MenuStart plugin for nwg-panel";
42 mainProgram = "nwg-menu";
43 license = licenses.mit;
44 platforms = platforms.linux;
45 maintainers = with maintainers; [ berbiche ];