2021-02-05 17:12:51 +00:00
|
|
|
{lib, stdenv, fetchurl, libogg, libao, pkg-config, flac, opusfile, libopusenc}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-21 07:28:18 +00:00
|
|
|
pname = "opus-tools";
|
|
|
|
version = "0.2";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2021-07-21 07:28:18 +00:00
|
|
|
url = "https://downloads.xiph.org/releases/opus/${pname}-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "11pzl27s4vcz4m18ch72nivbhww2zmzn56wspb7rll1y1nq6rrdl";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libogg libao flac opusfile libopusenc ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Tools to work with opus encoded audio streams";
|
2020-10-07 09:15:18 +00:00
|
|
|
homepage = "https://www.opus-codec.org/";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
maintainers = with lib.maintainers; [ ];
|
|
|
|
platforms = with lib.platforms; unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|