about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/celt/0.5.1.nix
blob: e45d74345d446df9966d4320dd7f399f0fde34d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ 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'
  '';
})