From 66097104090e06c43a784193809bc8843a2ec052 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 28 Jul 2010 11:55:54 +0000 Subject: * Get rid of many instances of "args: with args;", and other coding guidelines violations. * Updated libsamplerate to 0.1.7. svn path=/nixpkgs/trunk/; revision=22782 --- pkgs/development/libraries/faac/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'pkgs/development/libraries/faac') diff --git a/pkgs/development/libraries/faac/default.nix b/pkgs/development/libraries/faac/default.nix index d1c0a825dea..f133217b202 100644 --- a/pkgs/development/libraries/faac/default.nix +++ b/pkgs/development/libraries/faac/default.nix @@ -1,19 +1,20 @@ -args: -args.stdenv.mkDerivation { +{ stdenv, fetchurl, autoconf, automake, libtool }: + +stdenv.mkDerivation { name = "faac-1.26"; - src = args.fetchurl { + src = fetchurl { url = http://downloads.sourceforge.net/faac/faac-1.26.tar.gz; sha256 = "0ld9d8mn3yp90japzkqkicmjcggi7d8y9gn7cl1jdsb74bif4j2b"; }; preConfigure = "./bootstrap"; - buildInputs =(with args; [autoconf automake libtool]); + buildInputs = [ autoconf automake libtool ]; meta = { - description="open source MPEG-4 and MPEG-2 AAC encoder"; - homepage = http://www.audiocoding.com/faac.html; - license = "LGPL"; + description = "Open source MPEG-4 and MPEG-2 AAC encoder"; + homepage = http://www.audiocoding.com/faac.html; + license = "LGPL"; }; } -- cgit 1.4.1