1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00
nixpkgs/pkgs/development/libraries/libxklavier/default.nix
Eelco Dolstra 749b8607ca * More cleanup.
svn path=/nixpkgs/trunk/; revision=22795
2010-07-28 15:35:01 +00:00

26 lines
708 B
Nix

{ stdenv, fetchurl, pkgconfig, libX11, libXi, xkeyboard_config, libxml2
, libICE, glib, libxkbfile, isocodes }:
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;
};
}