nixpkgs-suyu/pkgs/applications/misc/dmenu/default.nix

24 lines
666 B
Nix
Raw Normal View History

{stdenv, fetchurl, libX11, libXinerama}:
stdenv.mkDerivation rec {
2012-07-10 12:38:41 +02:00
name = "dmenu-4.5";
src = fetchurl {
url = "http://dl.suckless.org/tools/${name}.tar.gz";
2012-07-10 12:38:41 +02:00
sha256 = "0l58jpxrr80fmyw5pgw5alm5qry49aw6y049745wl991v2cdcb08";
};
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;
};
}
2012-07-10 12:38:41 +02:00