nixpkgs-suyu/pkgs/development/libraries/celt/generic.nix
Will Dietz 3bf2002199 celt-0.5.1: disable tests that fail to build due to bad code
These were fixed upstream, but patches don't apply to
0.5.1 which we need to use for spice.

Instead of maintaining backported patches for very deprecated
software, just don't build the tests in the first place.
2018-03-25 20:25:01 -05:00

26 lines
621 B
Nix

{ stdenv, version, src
, liboggSupport ? true, libogg ? null # if disabled only the library will be built
, prePatch ? ""
, ...
}:
# The celt codec has been deprecated and is now a part of the opus codec
stdenv.mkDerivation rec {
name = "celt-${version}";
inherit src;
inherit prePatch;
buildInputs = []
++ stdenv.lib.optional liboggSupport libogg;
meta = with stdenv.lib; {
description = "Ultra-low delay audio codec";
homepage = http://www.celt-codec.org/;
license = licenses.bsd2;
maintainers = with maintainers; [ codyopel raskin ];
platforms = platforms.unix;
};
}