libopus: update 1.0.3 -> 1.1, enable tests
This commit is contained in:
parent
0856500f3e
commit
5acb97b972
@ -1,15 +1,20 @@
|
|||||||
{ stdenv, fetchurl, fixedPoint ? false }:
|
{ stdenv, fetchurl, fixedPoint ? false }:
|
||||||
|
|
||||||
|
let
|
||||||
|
version = "1.1";
|
||||||
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libopus-1.0.3";
|
name = "libopus-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://downloads.xiph.org/releases/opus/opus-1.0.3.tar.gz";
|
url = "http://downloads.xiph.org/releases/opus/opus-${version}.tar.gz";
|
||||||
sha256 = "175l7hv7d03c4iz60g185nqvwrabc39ksil0d7g07i6vjaf0h6hr";
|
sha256 = "158xprn2086arvdib3vbbygz7z6jqkw2nci7nlywzzwallap0wmr";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = stdenv.lib.optionalString fixedPoint "--enable-fixed-point";
|
configureFlags = stdenv.lib.optionalString fixedPoint "--enable-fixed-point";
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Open, royalty-free, highly versatile audio codec";
|
description = "Open, royalty-free, highly versatile audio codec";
|
||||||
license = "BSD";
|
license = "BSD";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user