Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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.

+10
+7
pkgs/development/libraries/celt/0.5.1.nix
··· 7 7 url = "http://downloads.xiph.org/releases/celt/celt-${version}.tar.gz"; 8 8 sha256 = "0bkam9z5vnrxpbxkkh9kw6yzjka9di56h11iijikdd1f71l5nbpw"; 9 9 }; 10 + 11 + # Don't build tests due to badness with ec_ilog 12 + prePatch = '' 13 + substituteInPlace Makefile.in \ 14 + --replace 'SUBDIRS = libcelt tests' \ 15 + 'SUBDIRS = libcelt' 16 + ''; 10 17 })
+3
pkgs/development/libraries/celt/generic.nix
··· 1 1 { stdenv, version, src 2 2 , liboggSupport ? true, libogg ? null # if disabled only the library will be built 3 + , prePatch ? "" 3 4 , ... 4 5 }: 5 6 ··· 9 10 name = "celt-${version}"; 10 11 11 12 inherit src; 13 + 14 + inherit prePatch; 12 15 13 16 buildInputs = [] 14 17 ++ stdenv.lib.optional liboggSupport libogg;