23 lines
763 B
Nix
23 lines
763 B
Nix
{ stdenv, fetchurl, pkgconfig, openssl, libogg, libopus }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "opusfile-0.10";
|
|
src = fetchurl {
|
|
url = "http://downloads.xiph.org/releases/opus/${name}.tar.gz";
|
|
sha256 = "0bs1376sd131qdh7198jp64vv5d17az5wyy4y7srrvw7p8k3bq28";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ openssl libogg ];
|
|
propagatedBuildInputs = [ libopus ];
|
|
patches = [ ./include-multistream.patch ];
|
|
configureFlags = [ "--disable-examples" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "High-level API for decoding and seeking in .opus files";
|
|
homepage = http://www.opus-codec.org/;
|
|
license = licenses.bsd3;
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
maintainers = with maintainers; [ fuuzetsu ];
|
|
};
|
|
}
|