nixpkgs/pkgs/applications/misc/dmenu/default.nix
David Guibert 8ce884b7e1 dmenu: version 4.1.1
svn path=/nixpkgs/trunk/; revision=22177
2010-06-08 06:20:06 +00:00

22 lines
667 B
Nix

{stdenv, fetchurl, libX11, libXinerama}:
stdenv.mkDerivation rec {
name = "dmenu-4.1.1";
src = fetchurl {
url = "http://dl.suckless.org/tools/${name}.tar.gz";
sha256 = "02p687yi3fmnpkbvnskpryz54dc4i8pzf1spxc554s91wrd7fpwy";
};
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";
homepage = http://tools.suckless.org/dmenu;
license = "MIT";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; all;
};
}