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