Files
Lisanna Dettwyler 97af7a051b celt: use https for sources
Signed-off-by: Lisanna Dettwyler <lisanna.dettwyler@gmail.com>
2026-03-21 12:30:08 -04:00

21 lines
495 B
Nix

{ callPackage, fetchurl, ... }@args:
callPackage ./generic.nix (
args
// rec {
version = "0.5.1.3";
src = fetchurl {
url = "https://downloads.xiph.org/releases/celt/celt-${version}.tar.gz";
sha256 = "0bkam9z5vnrxpbxkkh9kw6yzjka9di56h11iijikdd1f71l5nbpw";
};
# Don't build tests due to badness with ec_ilog
prePatch = ''
substituteInPlace Makefile.in \
--replace 'SUBDIRS = libcelt tests' \
'SUBDIRS = libcelt'
'';
}
)