2018-12-07 15:38:04 +01:00
|
|
|
{stdenv, fetchurl, libogg, libao, pkgconfig, flac, opusfile, libopusenc}:
|
2012-09-25 20:08:01 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-12-07 15:38:04 +01:00
|
|
|
name = "opus-tools-0.2";
|
2012-09-25 20:08:01 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://downloads.xiph.org/releases/opus/${name}.tar.gz";
|
2018-12-07 15:38:04 +01:00
|
|
|
sha256 = "11pzl27s4vcz4m18ch72nivbhww2zmzn56wspb7rll1y1nq6rrdl";
|
2012-09-25 20:08:01 +02:00
|
|
|
};
|
|
|
|
|
2017-06-20 03:25:43 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-12-07 15:38:04 +01:00
|
|
|
buildInputs = [ libogg libao flac opusfile libopusenc ];
|
2012-09-25 20:08:01 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Tools to work with opus encoded audio streams";
|
2020-10-02 09:58:50 +02:00
|
|
|
homepage = "https://www.opus-codec.org/";
|
2014-09-21 19:59:33 +02:00
|
|
|
license = stdenv.lib.licenses.bsd2;
|
2019-12-05 08:29:48 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = with stdenv.lib.platforms; unix;
|
2012-09-25 20:08:01 +02:00
|
|
|
};
|
|
|
|
}
|