From 66e44425c6dfecbea68a5d6dc221ccd56561d4f1 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Fri, 22 Jan 2021 00:00:13 +0700 Subject: pkgs/development/libraries: stdenv.lib -> lib --- pkgs/development/libraries/libbluray/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkgs/development/libraries/libbluray') diff --git a/pkgs/development/libraries/libbluray/default.nix b/pkgs/development/libraries/libbluray/default.nix index 948b48b192d1d..3f90bb878adc9 100644 --- a/pkgs/development/libraries/libbluray/default.nix +++ b/pkgs/development/libraries/libbluray/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkg-config, fontconfig, autoreconfHook, DiskArbitration +{ lib, stdenv, fetchurl, pkg-config, fontconfig, autoreconfHook, DiskArbitration , withJava ? false, jdk ? null, ant ? null , withAACS ? false, libaacs ? null , withBDplus ? false, libbdplus ? null @@ -6,7 +6,7 @@ , withFonts ? true, freetype ? null }: -with stdenv.lib; +with lib; assert withJava -> jdk != null && ant != null; assert withAACS -> libaacs != null; @@ -50,13 +50,13 @@ stdenv.mkDerivation rec { ${optionalString withJava ''export JDK_HOME="${jdk.home}"''} ''; - configureFlags = with stdenv.lib; + configureFlags = with lib; optional (! withJava) "--disable-bdjava-jar" ++ optional (! withMetadata) "--without-libxml2" ++ optional (! withFonts) "--without-freetype" ; - meta = with stdenv.lib; { + meta = with lib; { homepage = "http://www.videolan.org/developers/libbluray.html"; description = "Library to access Blu-Ray disks for video playback"; license = licenses.lgpl21; -- cgit 1.4.1