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

30 lines
647 B
Nix
Raw Normal View History

{ lib, stdenv, version, src
2015-02-08 17:30:22 +00:00
, liboggSupport ? true, libogg ? null # if disabled only the library will be built
, 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 21:52:01 +00:00
stdenv.mkDerivation {
2019-08-13 21:52:01 +00:00
pname = "celt";
inherit version;
2015-02-08 17:30:22 +00:00
inherit src;
inherit prePatch;
2015-02-08 17:30:22 +00:00
buildInputs = []
++ lib.optional liboggSupport libogg;
2015-02-08 17:30:22 +00:00
doCheck = false; # fails
meta = with lib; {
2015-02-08 17:30:22 +00:00
description = "Ultra-low delay audio codec";
homepage = "http://www.celt-codec.org/";
2015-02-08 17:30:22 +00:00
license = licenses.bsd2;
maintainers = with maintainers; [ codyopel raskin ];
2015-04-26 02:45:54 +00:00
platforms = platforms.unix;
2015-02-08 17:30:22 +00:00
};
}