···11+{ stdenv, version, src
22+, liboggSupport ? true, libogg ? null # if disabled only the library will be built
33+, ...
44+}:
55+66+# The celt codec has been deprecated and is now a part of the opus codec
77+88+stdenv.mkDerivation rec {
99+ name = "celt-${version}";
1010+1111+ inherit src;
1212+1313+ buildInputs = []
1414+ ++ stdenv.lib.optional liboggSupport libogg;
1515+1616+ meta = with stdenv.lib; {
1717+ description = "Ultra-low delay audio codec";
1818+ homepage = http://www.celt-codec.org/;
1919+ license = licenses.bsd2;
2020+ maintainers = with maintainers; [ codyopel raskin ];
2121+ platform = platforms.unix;
2222+ };
2323+}