forked from mirrors/nixpkgs
42 lines
765 B
Nix
42 lines
765 B
Nix
{ fetchFromGitHub
|
|
, glib
|
|
, gobject-introspection
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, lib, stdenv
|
|
, wrapGAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cinnamon-menus";
|
|
version = "4.8.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxmint";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-9VSrqCjC8U3js1gqjl5QFctWYECATxN+AdfMdHLxYUY=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|