mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
23 lines
675 B
Nix
23 lines
675 B
Nix
{lib, stdenv, fetchurl, libogg, libao, pkg-config, flac, opusfile, libopusenc}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "opus-tools";
|
|
version = "0.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://downloads.xiph.org/releases/opus/${pname}-${version}.tar.gz";
|
|
sha256 = "11pzl27s4vcz4m18ch72nivbhww2zmzn56wspb7rll1y1nq6rrdl";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
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;
|
|
};
|
|
}
|