2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, version, src
|
2015-02-08 17:30:22 +00:00
|
|
|
, 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
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "celt";
|
|
|
|
inherit version;
|
2015-02-08 17:30:22 +00:00
|
|
|
|
|
|
|
inherit src;
|
|
|
|
|
2018-03-25 02:49:12 +01:00
|
|
|
inherit prePatch;
|
|
|
|
|
2015-02-08 17:30:22 +00:00
|
|
|
buildInputs = []
|
2021-01-21 17:00:13 +00:00
|
|
|
++ lib.optional liboggSupport libogg;
|
2015-02-08 17:30:22 +00:00
|
|
|
|
2018-04-25 04:20:18 +01:00
|
|
|
doCheck = false; # fails
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2015-02-08 17:30:22 +00:00
|
|
|
description = "Ultra-low delay audio codec";
|
2022-02-05 18:47:36 +00:00
|
|
|
homepage = "https://gitlab.xiph.org/xiph/celt"; # http://www.celt-codec.org/ is gone
|
2015-02-08 17:30:22 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|