nixpkgs/pkgs/data/misc/xkeyboard-config/default.nix
Eelco Dolstra 11ad14113c * Added xkeyboard-config, the keyboard configuration database.
svn path=/nixpkgs/trunk/; revision=8490
2007-03-29 21:02:22 +00:00

19 lines
456 B
Nix

{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 = "
configureFlags=\"--with-xkb-base=$out/etc/X11/xkb -with-xkb-rules-symlink=xorg\"
";
}