2015-02-08 09:30:22 -08:00
|
|
|
{ stdenv, version, src
|
|
|
|
, liboggSupport ? true, libogg ? null # if disabled only the library will be built
|
2018-03-24 18:49:12 -07:00
|
|
|
, prePatch ? ""
|
2015-02-08 09:30:22 -08:00
|
|
|
, ...
|
|
|
|
}:
|
|
|
|
|
|
|
|
# The celt codec has been deprecated and is now a part of the opus codec
|
|
|
|
|
2019-08-13 14:52:01 -07:00
|
|
|
stdenv.mkDerivation {
|
2019-08-13 14:52:01 -07:00
|
|
|
pname = "celt";
|
|
|
|
inherit version;
|
2015-02-08 09:30:22 -08:00
|
|
|
|
|
|
|
inherit src;
|
|
|
|
|
2018-03-24 18:49:12 -07:00
|
|
|
inherit prePatch;
|
|
|
|
|
2015-02-08 09:30:22 -08:00
|
|
|
buildInputs = []
|
|
|
|
++ stdenv.lib.optional liboggSupport libogg;
|
|
|
|
|
2018-04-24 20:20:18 -07:00
|
|
|
doCheck = false; # fails
|
|
|
|
|
2015-02-08 09:30:22 -08:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Ultra-low delay audio codec";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://www.celt-codec.org/";
|
2015-02-08 09:30:22 -08:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ codyopel raskin ];
|
2015-04-25 19:45:54 -07:00
|
|
|
platforms = platforms.unix;
|
2015-02-08 09:30:22 -08:00
|
|
|
};
|
|
|
|
}
|