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, fetchpatch, autoconf }:
|
||||
{ lib, stdenv, fetchurl, fetchpatch, autoconf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libmad";
|
||||
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||
# optimize.diff is taken from https://projects.archlinux.org/svntogit/packages.git/tree/trunk/optimize.diff?h=packages/libmad
|
||||
# It is included here in order to fix a build failure in Clang
|
||||
# But it may be useful to fix other, currently unknown problems as well
|
||||
++ stdenv.lib.optionals stdenv.cc.isClang [
|
||||
++ lib.optionals stdenv.cc.isClang [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/KaOSx/main/raw/1270b8080f37fb6cca562829a521991800b0a497/libmad/optimize.diff";
|
||||
sha256 = "0hcxzz9ql1fizyqbsgdchdwi7bvchfr72172j43hpyj53p0yabc6";
|
||||
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
preConfigure = "autoconf";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://sourceforge.net/projects/mad/";
|
||||
description = "A high-quality, fixed-point MPEG audio decoder supporting MPEG-1 and MPEG-2";
|
||||
license = licenses.gpl2;
|
||||
|
||||
Reference in New Issue
Block a user