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
@@ -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;