mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 09:31:01 +00:00
19 lines
496 B
Nix
19 lines
496 B
Nix
{ stdenv, fetchurl, fixedPoint ? false }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libopus-1.0.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://downloads.xiph.org/releases/opus/opus-1.0.2.tar.gz";
|
|
sha256 = "12npbkrcwvh3fl9l18cwrxwg269cg2j6j7876cc9q0axxvdmwqfs";
|
|
};
|
|
|
|
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/;
|
|
};
|
|
}
|