2017-12-21 16:16:19 +00:00
|
|
|
{stdenv, fetchFromGitHub #, libX11, libXinerama, enableXft, libXft, zlib
|
|
|
|
, swc, wld, wayland, libxkbcommon, pixman, fontconfig
|
|
|
|
}:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "dmenu-velox-${version}";
|
|
|
|
version = "git-2017-04-07";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "michaelforney";
|
|
|
|
repo = "dmenu";
|
|
|
|
rev = "f385d9d18813071b4b4257bf8d4d572daeda0e70";
|
|
|
|
sha256 = "14j8jv0nlybinhzkgd6dplvng9zy8p292prlx39w0k4fm6x5nv6y";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ swc wld wayland libxkbcommon pixman fontconfig ];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -ri -e 's!\<(dmenu|dmenu_path)\>!'"$out/bin"'/&!g' dmenu_run
|
|
|
|
'';
|
|
|
|
|
|
|
|
preConfigure = [
|
|
|
|
''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g; s@/usr/share/swc@${swc}/share/swc@g" config.mk''
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A generic, highly customizable, and efficient menu for the X Window System";
|
2018-04-11 14:09:51 +01:00
|
|
|
homepage = https://tools.suckless.org/dmenu;
|
2017-12-21 16:16:19 +00:00
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ ];
|
|
|
|
platforms = with stdenv.lib.platforms; all;
|
|
|
|
};
|
|
|
|
}
|