mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
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 }:
|
||||
|
||||
let
|
||||
version = "1.1";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libopus-1.0.3";
|
||||
|
||||
name = "libopus-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://downloads.xiph.org/releases/opus/opus-1.0.3.tar.gz";
|
||||
sha256 = "175l7hv7d03c4iz60g185nqvwrabc39ksil0d7g07i6vjaf0h6hr";
|
||||
url = "http://downloads.xiph.org/releases/opus/opus-${version}.tar.gz";
|
||||
sha256 = "158xprn2086arvdib3vbbygz7z6jqkw2nci7nlywzzwallap0wmr";
|
||||
};
|
||||
|
||||
configureFlags = stdenv.lib.optionalString fixedPoint "--enable-fixed-point";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Open, royalty-free, highly versatile audio codec";
|
||||
license = "BSD";
|
||||
|
Loading…
Reference in New Issue
Block a user