2013-10-05 19:21:21 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, yacc, flex, xkeyboard_config }:
|
2012-12-02 11:21:02 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-10-05 19:21:21 +00:00
|
|
|
name = "libxkbcommon-0.3.1";
|
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";
|
|
|
|
sha256 = "13mk335r4dhi9qglzbp46ina1wz4qgcp8r7s06iq7j50pf0kb5ww";
|
2012-12-02 11:21:02 +00:00
|
|
|
};
|
|
|
|
|
2013-10-05 19:21:21 +00:00
|
|
|
buildInputs = [ pkgconfig yacc flex xkeyboard_config ];
|
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;
|
|
|
|
};
|
|
|
|
}
|