fdk-aac: cleanup, format

This commit is contained in:
Sandro Jäckel 2021-08-13 17:11:25 +02:00
parent 6aef4cb18a
commit 14b2250e41
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,8 +1,9 @@
{ lib, stdenv, fetchurl
{ lib
, stdenv
, fetchurl
, exampleSupport ? false # Example encoding program
}:
with lib;
stdenv.mkDerivation rec {
pname = "fdk-aac";
version = "2.0.2";
@ -12,10 +13,9 @@ stdenv.mkDerivation rec {
sha256 = "sha256-yehjDPnUM/POrXSQahUg0iI/ibzT+pJUhhAXRAuOsi8=";
};
configureFlags = [ ]
++ optional exampleSupport "--enable-example";
configureFlags = lib.optional exampleSupport "--enable-example";
meta = {
meta = with lib; {
description = "A high-quality implementation of the AAC codec from Android";
homepage = "https://sourceforge.net/projects/opencore-amr/";
license = licenses.asl20;