1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs/development/libraries/libxklavier/default.nix

25 lines
607 B
Nix
Raw Normal View History

args: with args;
stdenv.mkDerivation rec {
name = "libxklavier-4.0";
src = fetchurl {
url = "mirror://sf/gswitchit/${name}.tar.bz2";
sha256 = "210ed5803109a8cef3b2ab1195bc73fe3385a97a8749d01673e020642d8e5a71";
};
# 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;
};
}