From ac99fefae1e9300a24bbe76ba2cf6f5d390b6a20 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Sun, 8 Feb 2015 13:41:20 -0800 Subject: [PATCH] Formatting fixes --- pkgs/development/libraries/faac/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/development/libraries/faac/default.nix b/pkgs/development/libraries/faac/default.nix index 47c2ee8575e6..6fe3601aeaa7 100644 --- a/pkgs/development/libraries/faac/default.nix +++ b/pkgs/development/libraries/faac/default.nix @@ -5,6 +5,7 @@ assert mp4v2Support -> (mp4v2 != null); +with stdenv.lib; stdenv.mkDerivation rec { name = "faac-${version}"; version = "1.28"; @@ -14,17 +15,17 @@ stdenv.mkDerivation rec { sha256 = "1pqr7nf6p2r283n0yby2czd3iy159gz8rfinkis7vcfgyjci2565"; }; - configureFlags = [] - ++ stdenv.lib.optional mp4v2Support "--with-mp4v2" - ++ stdenv.lib.optional drmSupport "--enable-drm"; + configureFlags = [ ] + ++ optional mp4v2Support "--with-mp4v2" + ++ optional drmSupport "--enable-drm"; - buildInputs = [] - ++ stdenv.lib.optional mp4v2Support mp4v2; + buildInputs = [ ] + ++ optional mp4v2Support mp4v2; - meta = with stdenv.lib; { + meta = { description = "Open source MPEG-4 and MPEG-2 AAC encoder"; homepage = http://www.audiocoding.com/faac.html; - license = stdenv.lib.licenses.unfree; + license = licenses.unfree; maintainers = with maintainers; [ codyopel ]; platforms = platforms.all; };