depot/third_party/nixpkgs/pkgs/applications/audio/opus-tools/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

20 lines
645 B
Nix

{lib, stdenv, fetchurl, libogg, libao, pkg-config, flac, opusfile, libopusenc}:
stdenv.mkDerivation rec {
name = "opus-tools-0.2";
src = fetchurl {
url = "http://downloads.xiph.org/releases/opus/${name}.tar.gz";
sha256 = "11pzl27s4vcz4m18ch72nivbhww2zmzn56wspb7rll1y1nq6rrdl";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libogg libao flac opusfile libopusenc ];
meta = {
description = "Tools to work with opus encoded audio streams";
homepage = "https://www.opus-codec.org/";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ ];
platforms = with lib.platforms; unix;
};
}