2007-03-29 23:02:22 +02:00
|
|
|
{stdenv, fetchurl, perl, perlXMLParser, xkbcomp}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "xkeyboard-config-0.9";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://xlibs.freedesktop.org/xkbdesc/xkeyboard-config-0.9.tar.bz2;
|
|
|
|
sha256 = "0zbpprhlv8ggsvgnwqw8d4cx0ry86szm36ghigwb1sn46q0c915v";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [perl perlXMLParser xkbcomp];
|
|
|
|
|
|
|
|
ICONV = "iconv";
|
|
|
|
|
|
|
|
preConfigure = "
|
2007-03-30 00:59:30 +02:00
|
|
|
configureFlags=\"--with-xkb-base=$out/etc/X11/xkb -with-xkb-rules-symlink=xorg,xfree86\"
|
2007-03-29 23:02:22 +02:00
|
|
|
";
|
2007-08-02 23:28:26 +02:00
|
|
|
|
2008-01-15 01:55:21 +01:00
|
|
|
postInstall = ''
|
|
|
|
rm ''${out}/etc/X11/xkb/compiled
|
|
|
|
cat ${./level3-deadkeys-us-intl} >> $out/etc/X11/xkb/symbols/us
|
|
|
|
'';
|
2007-03-29 23:02:22 +02:00
|
|
|
}
|