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