mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 12:02:47 +00:00
3bf2002199
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.
18 lines
465 B
Nix
18 lines
465 B
Nix
{ callPackage, fetchurl, ... } @ args:
|
|
|
|
callPackage ./generic.nix (args // rec{
|
|
version = "0.5.1.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://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'
|
|
'';
|
|
})
|