mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
aebfa8548f
The new wmii has some wired behaviour: - When you move windows the curser location changes. Until the window manager has changed that location movement of mouse is ignored. - window do not always popup in the col which was focused. - wmiimenu broke old wmii does not build with newer libixp Until I know how to fix those issues I'll revert my update This reverts -r 21683 svn path=/nixpkgs/trunk/; revision=21816
36 lines
1.1 KiB
Nix
36 lines
1.1 KiB
Nix
args: with args; stdenv.mkDerivation {
|
|
name = "wmii-20071116";
|
|
|
|
src = fetchurl {
|
|
url = http://dl.suckless.org/wmii/wmii-3.6.tar.gz;
|
|
sha256 = "46f39b788c5ef4695040b36cc7d9c539db0306bafc4d8cefdc5980ed4331b216";
|
|
};
|
|
|
|
buildInputs = [ libX11 libixp xextproto libXt libXext ];
|
|
inherit libixp;
|
|
|
|
phases = "unpackPhase installPhase";
|
|
|
|
installPhase = "
|
|
for i in libfmt libutf libregexp libbio; do
|
|
cd $i; make; cd ..
|
|
done
|
|
mkdir -p \$out/lib
|
|
cp ${libixp}/lib/libixp.a \$out/lib
|
|
export CFLAGS=\$NIX_CFLAGS_COMPILE
|
|
export LDFLAGS\=$(echo \$NIX_LDFLAGS | sed -e 's/-rpath/-L/g')
|
|
sed -i -e \"s%^PREFIX.*%PREFIX=\$out%\" \\
|
|
-e \"s%^\\(INCS.*\\)%\\1 \$NIX_CFLAGS_COMPILE%\" \\
|
|
-e \"s%^\\(LIBS.*\\)%\\1 \$LDFLAGS%\" \\
|
|
-e 's%^\\(AWKPATH = \\).*%\\1${gawk}/bin/gawk%' \\
|
|
config.mk
|
|
# don't use the default one installed by nixos!
|
|
#sed -i -e \"s%ixpc%\$libixp/bin/ixpc%\" wmiir
|
|
make install
|
|
";
|
|
meta = { homepage = "www.suckless.org";
|
|
description = "a really cool window manager which can by driven by keyboard only";
|
|
license="MIT";
|
|
};
|
|
}
|