2016-09-11 23:24:51 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, gtk2, menu-cache }:
|
2014-09-15 13:34:16 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-03-04 16:42:28 +01:00
|
|
|
name = "openbox-menu-${version}";
|
|
|
|
version = "0.8.0";
|
2014-09-15 13:34:16 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://bitbucket.org/fabriceT/openbox-menu/downloads/${name}.tar.bz2";
|
2016-03-04 16:42:28 +01:00
|
|
|
sha256 = "1hi4b6mq97y6ajq4hhsikbkk23aha7ikaahm92djw48mgj2f1w8l";
|
2014-09-15 13:34:16 +02:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ glib gtk2 menu-cache ];
|
2014-09-15 13:34:16 +02:00
|
|
|
|
|
|
|
patches = [ ./with-svg.patch ];
|
|
|
|
|
|
|
|
installPhase = "make install prefix=$out";
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://fabrice.thiroux.free.fr/openbox-menu_en.html;
|
2014-09-15 13:34:16 +02:00
|
|
|
description = "Dynamic XDG menu generator for Openbox";
|
2016-03-04 16:42:28 +01:00
|
|
|
longDescription = ''
|
|
|
|
Openbox-menu is a pipemenu for Openbox window manager. It provides a
|
|
|
|
dynamic menu listing installed applications. Most of the work is done by
|
|
|
|
the LXDE library menu-cache.
|
|
|
|
'';
|
2014-09-15 13:34:16 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.romildo ];
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
|
|
|
}
|