nixpkgs/pkgs/applications/audio/opus-tools/default.nix

21 lines
645 B
Nix
Raw Normal View History

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