pkgs/development/libraries: stdenv.lib -> lib
This commit is contained in:
committed by
Jonathan Ringer
parent
046d24424e
commit
66e44425c6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user