3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libxkbcommon/default.nix
aszlig 367718a80f
libxkbcommon: Update to version 0.4.2.
Fixes build of i3lock and to possibly prevent breakage of other
packages, I've tested building of gtk3 and qt5 (partial, core2duo here).
I know it's not a comprehensive test but we can still revert in case
Hydra reports more builds failing.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-08-03 17:37:58 +02:00

22 lines
554 B
Nix

{ stdenv, fetchurl, pkgconfig, yacc, flex, xkeyboard_config, libxcb }:
stdenv.mkDerivation rec {
name = "libxkbcommon-0.4.2";
src = fetchurl {
url = "http://xkbcommon.org/download/${name}.tar.xz";
sha256 = "0mw9ljc5fbqbhnm884w7ns5pf6f2rqj9ww5xcaps9nzdgsq73z50";
};
buildInputs = [ pkgconfig yacc flex xkeyboard_config libxcb ];
configureFlags = ''
--with-xkb-config-root=${xkeyboard_config}/etc/X11/xkb
'';
meta = {
description = "A library to handle keyboard descriptions";
homepage = http://xkbcommon.org;
};
}