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, cmake, pkg-config
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
, libpng, libtiff, lcms2, jpylyzer
, mj2Support ? true # MJ2 executables
, jpwlLibSupport ? true # JPWL library & executables
@@ -19,7 +19,7 @@ assert jpipServerSupport -> jpipLibSupport && curl != null && fcgi != null;
assert (openjpegJarSupport || jpipLibSupport) -> jdk != null;
let
inherit (stdenv.lib) optional optionals;
inherit (lib) optional optionals;
mkFlag = optSet: flag: "-D${flag}=${if optSet then "ON" else "OFF"}";
in
@@ -74,7 +74,7 @@ stdenv.mkDerivation {
incDir = "openjpeg-${branch}";
};
meta = with stdenv.lib; {
meta = with lib; {
description = "Open-source JPEG 2000 codec written in C language";
homepage = "https://www.openjpeg.org/";
license = licenses.bsd2;