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