1{ callPackage, fetchurl, ... }@args:
2
3callPackage ./generic.nix (
4 args
5 // rec {
6 version = "0.5.1.3";
7
8 src = fetchurl {
9 url = "http://downloads.xiph.org/releases/celt/celt-${version}.tar.gz";
10 sha256 = "0bkam9z5vnrxpbxkkh9kw6yzjka9di56h11iijikdd1f71l5nbpw";
11 };
12
13 # Don't build tests due to badness with ec_ilog
14 prePatch = ''
15 substituteInPlace Makefile.in \
16 --replace 'SUBDIRS = libcelt tests' \
17 'SUBDIRS = libcelt'
18 '';
19 }
20)