mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
* Added xkeyboard-config, the keyboard configuration database.
svn path=/nixpkgs/trunk/; revision=8490
This commit is contained in:
parent
553289da58
commit
11ad14113c
18
pkgs/data/misc/xkeyboard-config/default.nix
Normal file
18
pkgs/data/misc/xkeyboard-config/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{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\"
|
||||
";
|
||||
}
|
|
@ -2528,6 +2528,11 @@ rec {
|
|||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
xkeyboard_config = import ../data/misc/xkeyboard-config {
|
||||
inherit fetchurl stdenv perl perlXMLParser;
|
||||
inherit (xlibs) xkbcomp;
|
||||
};
|
||||
|
||||
|
||||
### APPLICATIONS
|
||||
|
||||
|
|
Loading…
Reference in a new issue