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, darwin, fetchurl, SDL2 }:
{ lib, stdenv, darwin, fetchurl, SDL2 }:
stdenv.mkDerivation rec {
pname = "SDL2_gfx";
@@ -10,12 +10,12 @@ stdenv.mkDerivation rec {
};
buildInputs = [ SDL2 ]
++ stdenv.lib.optional stdenv.isDarwin darwin.libobjc;
++ lib.optional stdenv.isDarwin darwin.libobjc;
configureFlags = [(if stdenv.isi686 || stdenv.isx86_64 then "--enable-mmx" else "--disable-mmx")]
++ stdenv.lib.optional stdenv.isDarwin "--disable-sdltest";
++ lib.optional stdenv.isDarwin "--disable-sdltest";
meta = with stdenv.lib; {
meta = with lib; {
description = "SDL graphics drawing primitives and support functions";
longDescription = ''