about summary refs log tree commit diff
path: root/pkgs/applications/misc/openbox-menu/default.nix
blob: 6055997b28ee89477c62c69cb1f19555654ea93f (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
24
{ stdenv, fetchurl, pkgconfig, glib, gtk, menu-cache }:

stdenv.mkDerivation rec {
  name = "openbox-menu-0.5.1";

  src = fetchurl {
    url = "https://bitbucket.org/fabriceT/openbox-menu/downloads/${name}.tar.bz2";
    sha256 = "11v3nlhqcnks5vms1a7rrvwvj8swc9axgjkp7z0r97lijsg6d3rj";
  };

  buildInputs = [ pkgconfig glib gtk menu-cache ];

  patches = [ ./with-svg.patch ];

  installPhase = "make install prefix=$out";

  meta = {
    description = "Dynamic XDG menu generator for Openbox";
    homepage = "http://mimasgpc.free.fr/openbox-menu.html";
    license = stdenv.lib.licenses.gpl3;
    maintainers = [ stdenv.lib.maintainers.romildo ];
    platforms   = stdenv.lib.platforms.unix;
  };
}