2015-02-08 17:30:22 +00:00
|
|
|
{ stdenv, version, src
|
|
|
|
, liboggSupport ? true, libogg ? null # if disabled only the library will be built
|
2018-03-25 02:49:12 +01:00
|
|
|
, prePatch ? ""
|
2015-02-08 17:30:22 +00:00
|
|
|
, ...
|
|
|
|
}:
|
|
|
|
|
|
|
|
# The celt codec has been deprecated and is now a part of the opus codec
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "celt-${version}";
|
|
|
|
|
|
|
|
inherit src;
|
|
|
|
|
2018-03-25 02:49:12 +01:00
|
|
|
inherit prePatch;
|
|
|
|
|
2015-02-08 17:30:22 +00:00
|
|
|
buildInputs = []
|
|
|
|
++ stdenv.lib.optional liboggSupport libogg;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Ultra-low delay audio codec";
|
|
|
|
homepage = http://www.celt-codec.org/;
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ codyopel raskin ];
|
2015-04-26 03:45:54 +01:00
|
|
|
platforms = platforms.unix;
|
2015-02-08 17:30:22 +00:00
|
|
|
};
|
|
|
|
}
|