about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/menu-cache/default.nix
blob: 66fadee0b31fe1d67d6547e186f33eebb3d1f32b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, stdenv, fetchurl, glib, pkg-config, libfm-extra }:

stdenv.mkDerivation rec {
  pname = "menu-cache";
  version = "1.1.0";

  src = fetchurl {
    url = "mirror://sourceforge/lxde/menu-cache-${version}.tar.xz";
    sha256 = "1iry4zlpppww8qai2cw4zid4081hh7fz8nzsp5lqyffbkm2yn0pd";
  };

  nativeBuildInputs = [ pkg-config ];

  buildInputs = [ glib libfm-extra ];

  meta = with lib; {
    description = "Library to read freedesktop.org menu files";
    homepage = "https://blog.lxde.org/tag/menu-cache/";
    license = licenses.gpl2Plus;
    maintainers = [ maintainers.ttuegel ];
    platforms = platforms.linux ++ platforms.darwin;
  };
}