ieda: init at 0-unstable-2024-10-11 (#338769)
[NixPkgs.git] / pkgs / by-name / fd / fdk_aac / package.nix
blobe3e310363aedd4b20362191d5bcd2ed3874efd7d
2   lib,
3   stdenv,
4   fetchurl,
5   exampleSupport ? false, # Example encoding program
6 }:
8 stdenv.mkDerivation rec {
9   pname = "fdk-aac";
10   version = "2.0.3";
12   src = fetchurl {
13     url = "mirror://sourceforge/opencore-amr/fdk-aac/${pname}-${version}.tar.gz";
14     sha256 = "sha256-gptrie7zgkCc2mhX/YKvhPq7Y0F7CO3p6npVP4Ect54=";
15   };
17   outputs = [
18     "out"
19     "dev"
20   ];
22   enableParallelBuilding = true;
24   configureFlags = lib.optional exampleSupport "--enable-example";
26   meta = with lib; {
27     description = "High-quality implementation of the AAC codec from Android";
28     homepage = "https://sourceforge.net/projects/opencore-amr/";
29     license = licenses.fraunhofer-fdk;
30     maintainers = with maintainers; [ codyopel ];
31     platforms = platforms.all;
32   };