3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libxklavier/3.4.nix

22 lines
607 B
Nix
Raw Normal View History

args: with args;
stdenv.mkDerivation rec {
name = "libxklavier-" + version;
src = fetchurl {
url = "mirror://sf/gswitchit/${name}.tar.gz";
sha256 = "07pq74ygmnr3vgfp86dbjnqsp3v67fww6d3a1vqbif9wzbk70195";
};
# TODO: enable xmodmap support, needs xmodmap DB
propagatedBuildInputs = [libX11 xkeyboard_config libxml2 libICE glib libxkbfile];
buildInputs = [pkgconfig];
configureFlags = "--enable-shared --disable-static
--with-xkb-base=${xkeyboard_config}/etc/X11/xkb
--disable-xmodmap-support";
meta = {
homepage = http://freedesktop.org/wiki/Software/LibXklavier;
};
}