summary refs log tree commit diff
path: root/pkgs/applications/audio/opus-tools/default.nix
blob: f16e8e7a02d5237ad45a4902dbfd49ba55dba5ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{lib, stdenv, fetchurl, libogg, libao, pkgconfig, flac, opusfile, libopusenc}:

stdenv.mkDerivation rec {
  name = "opus-tools-0.2";
  src = fetchurl {
    url = "http://downloads.xiph.org/releases/opus/${name}.tar.gz";
    sha256 = "11pzl27s4vcz4m18ch72nivbhww2zmzn56wspb7rll1y1nq6rrdl";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ libogg libao flac opusfile libopusenc ];

  meta = {
    description = "Tools to work with opus encoded audio streams";
    homepage = "https://www.opus-codec.org/";
    license = lib.licenses.bsd2;
    maintainers = with lib.maintainers; [ ];
    platforms = with lib.platforms; unix;
  };
}