pkgs/development/libraries: stdenv.lib -> lib
This commit is contained in:
committed by
Jonathan Ringer
parent
046d24424e
commit
66e44425c6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user