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