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