summary refs log tree commit diff
path: root/pkgs/development/libraries/fdk-aac/default.nix
blob: dc64a6edce04d689be4c80af0f4f8251b1b821d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, stdenv, fetchurl
, exampleSupport ? false # Example encoding program
}:

with lib;
stdenv.mkDerivation rec {
  pname = "fdk-aac";
  version = "2.0.1";

  src = fetchurl {
    url = "mirror://sourceforge/opencore-amr/fdk-aac/${pname}-${version}.tar.gz";
    sha256 = "0wgjjc0dfkm2w966lc9c8ir8f671vl1ppch3mya3h58jjjm360c4";
  };

  configureFlags = [ ]
    ++ optional exampleSupport "--enable-example";

  meta = {
    description = "A high-quality implementation of the AAC codec from Android";
    homepage    = "https://sourceforge.net/projects/opencore-amr/";
    license     = licenses.asl20;
    maintainers = with maintainers; [ codyopel ];
    platforms   = platforms.all;
  };
}