nixpkgs/pkgs/development/libraries/celt/generic.nix

30 lines
656 B
Nix
Raw Normal View History

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