summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/me/menu-cache/package.nix
blob: 1fa0e80dff1183b28ed644100d69538fd23627aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
  lib,
  stdenv,
  fetchFromGitHub,
  glib,
  pkg-config,
  libfm-extra,
  autoreconfHook,
  gtk-doc,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "menu-cache";
  version = "1.1.1";

  src = fetchFromGitHub {
    owner = "lxde";
    repo = "menu-cache";
    tag = finalAttrs.version;
    hash = "sha256-5Vp2btrflimy+Hq+3MLpic/quZMJ3uwsMq12G7s4DGI=";
  };

  nativeBuildInputs = [
    autoreconfHook
    pkg-config
    gtk-doc
  ];

  buildInputs = [
    glib
    libfm-extra
  ];

  meta = {
    description = "Library to read freedesktop.org menu files";
    homepage = "https://github.com/lxde/menu-cache";
    license = lib.licenses.lgpl21Plus;
    maintainers = [ ];
    platforms = lib.platforms.linux ++ lib.platforms.darwin;
  };
})