nixpkgs/pkgs/development/libraries/libopus/default.nix
Martin Wohlert b20f20d3eb libopus: 1.1.4 -> 1.1.5
http://opus-codec.org/release/stable/2017/05/24/libopus-1_1_5.html

> May 24, 2017
>
> This Opus 1.1.5 release backports the surround encoder bug fix from 1.2-beta. There are no other changes compared to 1.1.4.
2017-05-27 02:59:16 +02:00

30 lines
812 B
Nix

{ stdenv, fetchurl, fetchpatch
, fixedPoint ? false, withCustomModes ? true }:
let
version = "1.1.5";
in
stdenv.mkDerivation rec {
name = "libopus-${version}";
src = fetchurl {
url = "http://downloads.xiph.org/releases/opus/opus-${version}.tar.gz";
sha256 = "1r33nm7b052dw7gsc99809df1zmj5icfiljqbrfkw2pll0f9i17b";
};
outputs = [ "out" "dev" ];
configureFlags = stdenv.lib.optional fixedPoint "--enable-fixed-point"
++ stdenv.lib.optional withCustomModes "--enable-custom-modes";
doCheck = true;
meta = with stdenv.lib; {
description = "Open, royalty-free, highly versatile audio codec";
license = stdenv.lib.licenses.bsd3;
homepage = http://www.opus-codec.org/;
platforms = platforms.unix;
maintainers = with maintainers; [ wkennington ];
};
}