2008-10-09 14:12:58 +02:00
|
|
|
{stdenv, fetchurl, perl, perlXMLParser, xkbcomp, gettext, intltool}:
|
2007-03-29 23:02:22 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-10-09 14:12:58 +02:00
|
|
|
name = "xkeyboard-config-1.4";
|
2007-03-29 23:02:22 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-10-09 14:12:58 +02:00
|
|
|
url = http://xlibs.freedesktop.org/xkbdesc/xkeyboard-config-1.4.tar.bz2;
|
|
|
|
sha256 = "1qdhhc5ji8677dna9qj6kisgpfzhpjmaavdjzvvrv9chrxyqa6lj";
|
2007-03-29 23:02:22 +02:00
|
|
|
};
|
|
|
|
|
2008-10-09 14:12:58 +02:00
|
|
|
buildInputs = [perl perlXMLParser xkbcomp gettext intltool];
|
2007-03-29 23:02:22 +02:00
|
|
|
|
|
|
|
ICONV = "iconv";
|
|
|
|
|
2008-10-09 14:12:58 +02:00
|
|
|
preConfigure = ''
|
|
|
|
configureFlags="--with-xkb-base=$out/etc/X11/xkb -with-xkb-rules-symlink=xorg,xfree86"
|
|
|
|
'';
|
2007-08-02 23:28:26 +02:00
|
|
|
|
2008-01-10 09:01:48 +01:00
|
|
|
postInstall = ''
|
2008-10-09 14:12:58 +02:00
|
|
|
cat ${./level3-deadkeys-us-intl} >> $out/etc/X11/xkb/symbols/us
|
2008-01-10 09:01:48 +01:00
|
|
|
'';
|
2007-03-29 23:02:22 +02:00
|
|
|
}
|