about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/menu-cache
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/menu-cache')
-rw-r--r--nixpkgs/pkgs/development/libraries/menu-cache/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/menu-cache/default.nix b/nixpkgs/pkgs/development/libraries/menu-cache/default.nix
new file mode 100644
index 000000000000..b2f06b9e627b
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/menu-cache/default.nix
@@ -0,0 +1,23 @@
+{ lib, stdenv, fetchurl, glib, pkg-config, libfm-extra }:
+
+let name = "menu-cache-1.1.0";
+in
+stdenv.mkDerivation {
+  inherit name;
+  src = fetchurl {
+    url = "mirror://sourceforge/lxde/${name}.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;
+  };
+}