2010-03-05 22:42:24 +01:00
|
|
|
{stdenv, fetchurl, libX11, libXinerama}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "dmenu-4.0";
|
2008-08-06 22:39:01 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-03-05 22:42:24 +01:00
|
|
|
url = "http://dl.suckless.org/tools/${name}.tar.gz";
|
|
|
|
sha256 = "0qp8n9hz15lzqp5dnq6lqknxhmlrgv20x2bnbc2zr891bql0hif0";
|
2008-08-06 22:39:01 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 libXinerama ];
|
|
|
|
|
|
|
|
preConfigure = [ ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk'' ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "a generic, highly customizable, and efficient menu for the X Window System";
|
2009-03-15 21:09:50 +01:00
|
|
|
homepage = http://tools.suckless.org/dmenu;
|
2008-08-06 22:39:01 +02:00
|
|
|
license = "MIT";
|
2010-03-05 22:42:24 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; all;
|
2008-08-06 22:39:01 +02:00
|
|
|
};
|
|
|
|
}
|