Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / fdk-aac / default.nix
blob99e211877da1e10f560dfdb3c24890e94417dd57
1 { lib
2 , stdenv
3 , fetchurl
4 , exampleSupport ? false # Example encoding program
5 }:
7 stdenv.mkDerivation rec {
8   pname = "fdk-aac";
9   version = "2.0.2";
11   src = fetchurl {
12     url = "mirror://sourceforge/opencore-amr/fdk-aac/${pname}-${version}.tar.gz";
13     sha256 = "sha256-yehjDPnUM/POrXSQahUg0iI/ibzT+pJUhhAXRAuOsi8=";
14   };
16   outputs = [ "out" "dev" ];
18   enableParallelBuilding = true;
20   configureFlags = lib.optional exampleSupport "--enable-example";
22   meta = with lib; {
23     description = "A high-quality implementation of the AAC codec from Android";
24     homepage = "https://sourceforge.net/projects/opencore-amr/";
25     license = licenses.fraunhofer-fdk;
26     maintainers = with maintainers; [ codyopel ];
27     platforms = platforms.all;
28   };