mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
367718a80f
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>
22 lines
554 B
Nix
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;
|
|
};
|
|
}
|