2012-09-25 20:01:29 +02:00
|
|
|
{ stdenv, fetchurl, fixedPoint ? false }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-03-20 20:18:11 +01:00
|
|
|
name = "libopus-1.0.2";
|
2012-09-25 20:01:29 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-03-20 20:18:11 +01:00
|
|
|
url = "http://downloads.xiph.org/releases/opus/opus-1.0.2.tar.gz";
|
|
|
|
sha256 = "12npbkrcwvh3fl9l18cwrxwg269cg2j6j7876cc9q0axxvdmwqfs";
|
2012-09-25 20:01:29 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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/;
|
|
|
|
};
|
|
|
|
}
|