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