pkgs/development/libraries: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-21 19:11:02 -08:00
committed by Jonathan Ringer
parent 046d24424e
commit 66e44425c6
1770 changed files with 4913 additions and 4912 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, meson, ninja, pkg-config, yacc, doxygen
{ lib, stdenv, fetchurl, meson, ninja, pkg-config, yacc, doxygen
, xkeyboard_config, libxcb, libxml2
, python3
, libX11
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
patchShebangs ../test/
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A library to handle keyboard descriptions";
longDescription = ''
libxkbcommon is a keyboard keymap compiler and support library which
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, yacc, flex, xkeyboard_config, libxcb, libX11 }:
{ lib, stdenv, fetchurl, pkg-config, yacc, flex, xkeyboard_config, libxcb, libX11 }:
stdenv.mkDerivation rec {
name = "libxkbcommon-0.7.2";
@@ -18,11 +18,11 @@ stdenv.mkDerivation rec {
"--with-x-locale-root=${libX11.out}/share/X11/locale"
];
preBuild = stdenv.lib.optionalString stdenv.isDarwin ''
preBuild = lib.optionalString stdenv.isDarwin ''
sed -i 's/,--version-script=.*$//' Makefile
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A library to handle keyboard descriptions";
homepage = "https://xkbcommon.org";
license = licenses.mit;