mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 08:01:14 +00:00
8faec095df
svn path=/nixpkgs/trunk/; revision=15852
25 lines
607 B
Nix
25 lines
607 B
Nix
args: with args;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libxklavier-3.9";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sf/gswitchit/${name}.tar.bz2";
|
|
sha256 = "462a4e427f201a23de194f824dce70c84867464956f2f6c8dd4a5e07f1f4a554";
|
|
};
|
|
|
|
# TODO: enable xmodmap support, needs xmodmap DB
|
|
propagatedBuildInputs = [libX11 libXi xkeyboard_config libxml2 libICE glib libxkbfile isocodes];
|
|
|
|
buildInputs = [pkgconfig];
|
|
|
|
configureFlags = ''
|
|
--with-xkb-base=${xkeyboard_config}/etc/X11/xkb
|
|
--disable-xmodmap-support
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://freedesktop.org/wiki/Software/LibXklavier;
|
|
};
|
|
}
|