mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
b9851a975e
* bemenu: init at 2017-02-14 * velox: 2015-11-03 -> 2017-07-04 * orbment, velox: don't expose subprojects the development of orbment and velox got stuck their subprojects (bemenu, dmenu-wayland, st-wayland) don't work correctly outside of parent projects so hide them to not confuse people swc and wld libraries are unpopular and unlike wlc are not used by anything except velox * pythonPackages.pydbus: init at 0.6.0 * way-cooler: 0.5.2 -> 0.6.2 * nixos/way-cooler: add module * dconf module: use for wayland non-invasive approach for #31293 see discussion at #32210 * sway: embed LD_LIBRARY_PATH for #32755 * way-cooler: switch from buildRustPackage to buildRustCrate #31150
37 lines
1 KiB
Nix
37 lines
1 KiB
Nix
{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";
|
|
homepage = http://tools.suckless.org/dmenu;
|
|
license = stdenv.lib.licenses.mit;
|
|
maintainers = with stdenv.lib.maintainers; [ ];
|
|
platforms = with stdenv.lib.platforms; all;
|
|
};
|
|
}
|