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