nixpkgs/pkgs/desktops/cinnamon/cinnamon-menus/default.nix
2022-07-30 19:51:12 +08:00

43 lines
764 B
Nix

{ fetchFromGitHub
, glib
, gobject-introspection
, meson
, ninja
, pkg-config
, lib
, stdenv
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "cinnamon-menus";
version = "5.4.0";
src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
rev = version;
hash = "sha256-Q4bgaX8nGSWHKHR3+hFTlHtNhSmZW8ZEHi8DaXKQ+fM=";
};
buildInputs = [
glib
gobject-introspection
];
nativeBuildInputs = [
meson
ninja
wrapGAppsHook
pkg-config
];
meta = with lib; {
homepage = "https://github.com/linuxmint/cinnamon-menus";
description = "A menu system for the Cinnamon project";
license = [ licenses.gpl2 licenses.lgpl2 ];
platforms = platforms.linux;
maintainers = teams.cinnamon.members;
};
}