2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl
|
2015-02-09 20:18:20 +00:00
|
|
|
, exampleSupport ? false # Example encoding program
|
2015-02-08 22:12:58 +00:00
|
|
|
}:
|
2014-01-02 21:11:02 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
with lib;
|
2015-02-08 22:12:58 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "fdk-aac";
|
2019-10-21 17:47:52 +00:00
|
|
|
version = "2.0.1";
|
2014-01-02 21:11:02 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/opencore-amr/fdk-aac/${pname}-${version}.tar.gz";
|
2019-10-21 17:47:52 +00:00
|
|
|
sha256 = "0wgjjc0dfkm2w966lc9c8ir8f671vl1ppch3mya3h58jjjm360c4";
|
2014-01-02 21:11:02 +00:00
|
|
|
};
|
|
|
|
|
2015-02-08 22:12:58 +00:00
|
|
|
configureFlags = [ ]
|
|
|
|
++ optional exampleSupport "--enable-example";
|
|
|
|
|
|
|
|
meta = {
|
2014-01-02 21:11:02 +00:00
|
|
|
description = "A high-quality implementation of the AAC codec from Android";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://sourceforge.net/projects/opencore-amr/";
|
2015-02-08 22:12:58 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ codyopel ];
|
|
|
|
platforms = platforms.all;
|
2014-01-02 21:11:02 +00:00
|
|
|
};
|
|
|
|
}
|