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
+3 -3
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "pcre2";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
configureFlags = [
"--enable-pcre2-16"
"--enable-pcre2-32"
] ++ stdenv.lib.optional (!stdenv.hostPlatform.isRiscV) "--enable-jit";
] ++ lib.optional (!stdenv.hostPlatform.isRiscV) "--enable-jit";
outputs = [ "bin" "dev" "out" "doc" "man" "devdoc" ];
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
moveToOutput bin/pcre2-config "$dev"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Perl Compatible Regular Expressions";
homepage = "http://www.pcre.org/";
license = licenses.bsd3;