mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
749b8607ca
svn path=/nixpkgs/trunk/; revision=22795
26 lines
708 B
Nix
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;
|
|
};
|
|
}
|