lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 22.05-pre 32 lines 920 B view raw
1{ lib, stdenv, fetchurl, pkg-config, bison, flex, xkeyboard_config, libxcb, libX11 }: 2 3stdenv.mkDerivation rec { 4 name = "libxkbcommon-0.7.2"; 5 6 src = fetchurl { 7 url = "http://xkbcommon.org/download/${name}.tar.xz"; 8 sha256 = "1n5rv5n210kjnkyrvbh04gfwaa7zrmzy1393p8nyqfw66lkxr918"; 9 }; 10 11 outputs = [ "out" "dev" ]; 12 13 nativeBuildInputs = [ pkg-config ]; 14 buildInputs = [ bison flex xkeyboard_config libxcb ]; 15 16 configureFlags = [ 17 "--with-xkb-config-root=${xkeyboard_config}/etc/X11/xkb" 18 "--with-x-locale-root=${libX11.out}/share/X11/locale" 19 ]; 20 21 preBuild = lib.optionalString stdenv.isDarwin '' 22 sed -i 's/,--version-script=.*$//' Makefile 23 ''; 24 25 meta = with lib; { 26 description = "A library to handle keyboard descriptions"; 27 homepage = "https://xkbcommon.org"; 28 license = licenses.mit; 29 maintainers = with maintainers; [ ttuegel ]; 30 platforms = with platforms; unix; 31 }; 32}