mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
19 lines
496 B
Nix
19 lines
496 B
Nix
|
{ 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/;
|
||
|
};
|
||
|
}
|