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, fetchFromGitHub, qmake, qtwebkit, hunspell }:
{ lib, stdenv, fetchFromGitHub, qmake, qtwebkit, hunspell }:
stdenv.mkDerivation {
name = "qtwebkit-plugins-2017-01-25";
@@ -15,11 +15,11 @@ stdenv.mkDerivation {
buildInputs = [ qtwebkit hunspell ];
postPatch = ''
sed -i "s,-lhunspell,-lhunspell-${stdenv.lib.versions.majorMinor hunspell.version}," src/spellcheck/spellcheck.pri
sed -i "s,-lhunspell,-lhunspell-${lib.versions.majorMinor hunspell.version}," src/spellcheck/spellcheck.pri
sed -i "s,\$\$\[QT_INSTALL_PLUGINS\],$out/$qtPluginPrefix," src/src.pro
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Spell checking plugin using Hunspell and HTML5 Notifications plugin for QtWebKit";
homepage = "https://github.com/QupZilla/qtwebkit-plugins";
license = licenses.gpl3;