2015-02-08 18:30:22 +01:00
|
|
|
{ callPackage, fetchurl, ... } @ args:
|
2012-08-28 00:35:29 +02:00
|
|
|
|
2015-02-08 18:30:22 +01:00
|
|
|
callPackage ./generic.nix (args // rec{
|
|
|
|
version = "0.5.1.3";
|
2012-08-28 00:35:29 +02:00
|
|
|
|
2015-02-08 18:30:22 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://downloads.xiph.org/releases/celt/celt-${version}.tar.gz";
|
|
|
|
sha256 = "0bkam9z5vnrxpbxkkh9kw6yzjka9di56h11iijikdd1f71l5nbpw";
|
2012-08-28 00:35:29 +02:00
|
|
|
};
|
2018-03-25 03:49:12 +02:00
|
|
|
|
|
|
|
# Don't build tests due to badness with ec_ilog
|
|
|
|
prePatch = ''
|
|
|
|
substituteInPlace Makefile.in \
|
|
|
|
--replace 'SUBDIRS = libcelt tests' \
|
|
|
|
'SUBDIRS = libcelt'
|
|
|
|
'';
|
2015-02-08 18:30:22 +01:00
|
|
|
})
|