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

This commit is contained in:
Ben Siraphob
2021-01-22 00:00:13 +07:00
committed by Jonathan Ringer
parent 046d24424e
commit 66e44425c6
1770 changed files with 4913 additions and 4912 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fetchpatch, cmake }:
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake }:
stdenv.mkDerivation rec {
pname = "flatbuffers";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
})
];
preConfigure = stdenv.lib.optional stdenv.buildPlatform.isDarwin ''
preConfigure = lib.optional stdenv.buildPlatform.isDarwin ''
rm BUILD
'';
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
# doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
checkTarget = "test";
meta = with stdenv.lib; {
meta = with lib; {
description = "Memory Efficient Serialization Library";
longDescription = ''
FlatBuffers is an efficient cross platform serialization library for