nixpkgs/pkgs/development/libraries/fdk-aac/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
679 B
Nix
Raw Normal View History

2021-08-13 15:11:25 +00:00
{ lib
, stdenv
, fetchurl
, exampleSupport ? false # Example encoding program
}:
2014-01-02 21:11:02 +00:00
stdenv.mkDerivation rec {
pname = "fdk-aac";
2021-08-12 01:34:09 +00:00
version = "2.0.2";
2014-01-02 21:11:02 +00:00
src = fetchurl {
url = "mirror://sourceforge/opencore-amr/fdk-aac/${pname}-${version}.tar.gz";
2021-08-12 01:34:09 +00:00
sha256 = "sha256-yehjDPnUM/POrXSQahUg0iI/ibzT+pJUhhAXRAuOsi8=";
2014-01-02 21:11:02 +00:00
};
2021-08-13 15:11:25 +00:00
configureFlags = lib.optional exampleSupport "--enable-example";
2021-08-13 15:11:25 +00:00
meta = with lib; {
2014-01-02 21:11:02 +00:00
description = "A high-quality implementation of the AAC codec from Android";
2021-08-13 15:11:25 +00:00
homepage = "https://sourceforge.net/projects/opencore-amr/";
license = licenses.asl20;
maintainers = with maintainers; [ codyopel ];
2021-08-13 15:11:25 +00:00
platforms = platforms.all;
2014-01-02 21:11:02 +00:00
};
}