mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
22 lines
539 B
Nix
22 lines
539 B
Nix
{ stdenv, fetchurl, pkgconfig, yacc, flex, xkeyboard_config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libxkbcommon-0.3.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://xkbcommon.org/download/${name}.tar.xz";
|
|
sha256 = "13mk335r4dhi9qglzbp46ina1wz4qgcp8r7s06iq7j50pf0kb5ww";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig yacc flex xkeyboard_config ];
|
|
|
|
configureFlags = ''
|
|
--with-xkb-config-root=${xkeyboard_config}/etc/X11/xkb
|
|
'';
|
|
|
|
meta = {
|
|
description = "A library to handle keyboard descriptions";
|
|
homepage = http://xkbcommon.org;
|
|
};
|
|
}
|