summary refs log tree commit diff
path: root/pkgs/development/libraries/libopus/default.nix
blob: d4c90ee33fbe808ae2951de9922457470784f772 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ stdenv, fetchurl, fixedPoint ? false }:

stdenv.mkDerivation rec {
  name = "libopus-1.0.1";
  
  src = fetchurl {
    url = "http://downloads.xiph.org/releases/opus/opus-1.0.1.tar.gz";
    sha256 = "1vs133z6c03xi1a7b8bkqxlb6ipwchawwb52z1lgvh1amwy5ryl0";
  };

  configureFlags = stdenv.lib.optionalString fixedPoint "--enable-fixed-point";

  meta = {
    description = "Open, royalty-free, highly versatile audio codec";
    license = "BSD";
    homepage = http://www.opus-codec.org/;
  };
}