mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
23 lines
713 B
Nix
23 lines
713 B
Nix
{ stdenv, fetchurl, pkgconfig, openssl, libogg, libopus }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "opusfile-0.6";
|
|
src = fetchurl {
|
|
url = "http://downloads.xiph.org/releases/opus/${name}.tar.gz";
|
|
sha256 = "19iys2kld75k0210b807i4illrdmj3cmmnrgxlc9y4vf6mxp2a14";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ openssl libogg ];
|
|
propagatedBuildInputs = [ libopus ];
|
|
patches = [ ./include-multistream.patch ];
|
|
|
|
meta = {
|
|
description = "High-level API for decoding and seeking in .opus files";
|
|
homepage = http://www.opus-codec.org/;
|
|
license = stdenv.lib.licenses.bsd3;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
|
};
|
|
}
|