summary refs log tree commit diff
path: root/pkgs/development/libraries/openjpeg
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-01-22 00:00:13 +0700
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-01-21 19:11:02 -0800
commit66e44425c6dfecbea68a5d6dc221ccd56561d4f1 (patch)
tree0a5bf7d41356ad47b4e6f0a737bf16c9a4a5b01e /pkgs/development/libraries/openjpeg
parent046d24424ef32cca1227519f93f41b5ec8133f31 (diff)
downloadnixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar
nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar.gz
nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar.bz2
nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar.lz
nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar.xz
nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar.zst
nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.zip
pkgs/development/libraries: stdenv.lib -> lib
Diffstat (limited to 'pkgs/development/libraries/openjpeg')
-rw-r--r--pkgs/development/libraries/openjpeg/generic.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/openjpeg/generic.nix b/pkgs/development/libraries/openjpeg/generic.nix
index 5ed35844eb0..8c1f18b987d 100644
--- a/pkgs/development/libraries/openjpeg/generic.nix
+++ b/pkgs/development/libraries/openjpeg/generic.nix
@@ -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;