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, libogg, libvorbis, pkg-config}:
{lib, stdenv, fetchurl, libogg, libvorbis, pkg-config}:
stdenv.mkDerivation rec {
name = "libtheora-1.1.1";
@@ -16,11 +16,11 @@ stdenv.mkDerivation rec {
# GCC's -fforce-addr flag is not supported by clang
# It's just an optimization, so it's safe to simply remove it
postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
postPatch = lib.optionalString stdenv.isDarwin ''
substituteInPlace configure --replace "-fforce-addr" ""
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.theora.org/";
description = "Library for Theora, a free and open video compression format";
license = licenses.bsd3;