summary refs log tree commit diff
path: root/pkgs/development/libraries/tremor/default.nix
blob: fec256e703fe8672142a8c1eba7f145e9a486f2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchsvn, autoreconfHook, pkgconfig, libogg }:

stdenv.mkDerivation rec {
  name = "tremor-svn-${src.rev}";

  src = fetchsvn {
    url = http://svn.xiph.org/trunk/Tremor;
    rev = "17866";
    sha256 = "161411cbefa1527da7a8fc087e78d8e21d19143d3a6eb42fb281e5026aad7568";
  };

  nativeBuildInputs = [ autoreconfHook pkgconfig ];
  propagatedBuildInputs = [ libogg ];

  preConfigure = ''
    sed -i /XIPH_PATH_OGG/d configure
  '';

  meta = {
    homepage = http://xiph.org/tremor/;
    description = "Fixed-point version of the Ogg Vorbis decoder";
    license = stdenv.lib.licenses.bsd3;
    platforms = stdenv.lib.platforms.unix;
  };
}