Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 version, 5 src, 6 liboggSupport ? true, 7 libogg ? null, # if disabled only the library will be built 8 prePatch ? "", 9 ... 10}: 11 12# The celt codec has been deprecated and is now a part of the opus codec 13 14stdenv.mkDerivation { 15 pname = "celt"; 16 inherit version; 17 18 inherit src; 19 20 outputs = [ 21 "out" 22 "dev" 23 ]; 24 25 inherit prePatch; 26 27 buildInputs = [ ] ++ lib.optional liboggSupport libogg; 28 29 doCheck = false; # fails 30 31 meta = with lib; { 32 description = "Ultra-low delay audio codec"; 33 homepage = "https://gitlab.xiph.org/xiph/celt"; # http://www.celt-codec.org/ is gone 34 license = licenses.bsd2; 35 maintainers = with maintainers; [ 36 codyopel 37 raskin 38 ]; 39 platforms = platforms.unix; 40 }; 41}