nixpkgs/pkgs/development/libraries/libxkbcommon/default.nix

22 lines
532 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, yacc, flex, xkeyboard_config, libxcb }:
stdenv.mkDerivation rec {
2015-09-04 19:01:34 +01:00
name = "libxkbcommon-0.5.0";
src = fetchurl {
url = "http://xkbcommon.org/download/${name}.tar.xz";
2015-09-04 19:01:34 +01:00
sha1 = "z9dvxrkcyb4b7f2zybgkrqb9zcxrj9vi";
};
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;
};
}