lol
1{ stdenv, fetchurl
2, exampleSupport ? false # Example encoding program
3}:
4
5with stdenv.lib;
6stdenv.mkDerivation rec {
7 name = "fdk-aac-${version}";
8 version = "0.1.5";
9
10 src = fetchurl {
11 url = "mirror://sourceforge/opencore-amr/fdk-aac/${name}.tar.gz";
12 sha256 = "1msdkcf559agmpycd4bk0scm2s2h9jyzbnnw1yrfarxlcwm5jr11";
13 };
14
15 configureFlags = [ ]
16 ++ optional exampleSupport "--enable-example";
17
18 meta = {
19 description = "A high-quality implementation of the AAC codec from Android";
20 homepage = https://sourceforge.net/projects/opencore-amr/;
21 license = licenses.asl20;
22 maintainers = with maintainers; [ codyopel ];
23 platforms = platforms.all;
24 };
25}