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, qmake, qtbase, protobuf }:
{ lib, stdenv, fetchFromGitHub, qmake, qtbase, protobuf }:
stdenv.mkDerivation rec {
pname = "qtpbfimageplugin";
@@ -18,13 +18,13 @@ stdenv.mkDerivation rec {
# Fix plugin dir
substituteInPlace pbfplugin.pro \
--replace "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix"
'' + stdenv.lib.optionalString stdenv.isDarwin ''
'' + lib.optionalString stdenv.isDarwin ''
# Fix darwin build
substituteInPlace pbfplugin.pro \
--replace '$$PROTOBUF/lib/libprotobuf-lite.a' '${protobuf}/lib/libprotobuf-lite.dylib'
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Qt image plugin for displaying Mapbox vector tiles";
longDescription = ''
QtPBFImagePlugin is a Qt image plugin that enables applications capable of