lol
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 glib,
6 pkg-config,
7 libfm-extra,
8 autoreconfHook,
9 gtk-doc,
10}:
11
12stdenv.mkDerivation (finalAttrs: {
13 pname = "menu-cache";
14 version = "1.1.1";
15
16 src = fetchFromGitHub {
17 owner = "lxde";
18 repo = "menu-cache";
19 tag = finalAttrs.version;
20 hash = "sha256-5Vp2btrflimy+Hq+3MLpic/quZMJ3uwsMq12G7s4DGI=";
21 };
22
23 nativeBuildInputs = [
24 autoreconfHook
25 pkg-config
26 gtk-doc
27 ];
28
29 buildInputs = [
30 glib
31 libfm-extra
32 ];
33
34 meta = {
35 description = "Library to read freedesktop.org menu files";
36 homepage = "https://blog.lxde.org/tag/menu-cache/";
37 license = lib.licenses.gpl2Plus;
38 maintainers = [ lib.maintainers.ttuegel ];
39 platforms = lib.platforms.linux ++ lib.platforms.darwin;
40 };
41})