2014-08-03 14:33:19 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, yacc, flex, xkeyboard_config, libxcb }:
|
2012-12-02 11:21:02 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-08-03 14:33:19 +00:00
|
|
|
name = "libxkbcommon-0.4.2";
|
2012-12-02 11:21:02 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-10-05 19:21:21 +00:00
|
|
|
url = "http://xkbcommon.org/download/${name}.tar.xz";
|
2014-08-03 14:33:19 +00:00
|
|
|
sha256 = "0mw9ljc5fbqbhnm884w7ns5pf6f2rqj9ww5xcaps9nzdgsq73z50";
|
2012-12-02 11:21:02 +00:00
|
|
|
};
|
|
|
|
|
2014-08-03 14:33:19 +00:00
|
|
|
buildInputs = [ pkgconfig yacc flex xkeyboard_config libxcb ];
|
2012-12-02 11:21:02 +00:00
|
|
|
|
|
|
|
configureFlags = ''
|
|
|
|
--with-xkb-config-root=${xkeyboard_config}/etc/X11/xkb
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A library to handle keyboard descriptions";
|
|
|
|
homepage = http://xkbcommon.org;
|
|
|
|
};
|
|
|
|
}
|