mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00: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
27 lines
786 B
Nix
27 lines
786 B
Nix
args: with args;
|
|
stdenv.mkDerivation {
|
|
name = "libixp_for_wmii";
|
|
phases = "unpackPhase installPhase";
|
|
installPhase = "
|
|
export LDFLAGS\=$(echo \$NIX_LDFLAGS | sed -e 's/-rpath/-L/g')
|
|
sed -i -e \"s%^PREFIX.*%PREFIX=\$out%\" \\
|
|
-e \"s%^\\(INCLUDE.*\\)%\\1 \$NIX_CFLAGS_COMPILE%\" \\
|
|
-e \"s%^\\(LIBS.*\\)%\\1 \$LDFLAGS%\" \\
|
|
config.mk
|
|
make
|
|
mkdir -p \$out/include
|
|
cp -r include/*.h \$out/include
|
|
cp -r lib \$out
|
|
";
|
|
src = fetchurl {
|
|
url = http://dl.suckless.org/libs/libixp-0.4.tar.gz;
|
|
sha256 = "0b44p9wvmzxpyf2xd86rxyr49bmfh9cd5hj3d234gkvynvgph60p";
|
|
};
|
|
|
|
meta = {
|
|
homepage = http://libs.suckless.org/libixp;
|
|
description = "stand-alone client/server 9P library";
|
|
license = "MIT / LPL";
|
|
};
|
|
}
|