5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
38 lines
700 B
Nix
38 lines
700 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, meson
|
|
, ninja
|
|
}:
|
|
|
|
let
|
|
name = "liblc3";
|
|
version = "1.1.1";
|
|
in
|
|
stdenv.mkDerivation {
|
|
pname = name;
|
|
version = version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "google";
|
|
repo = "liblc3";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-h9qy04FqlHXp0bOUoP4+WqI0yrM78e56S+DEn3HztYo=";
|
|
};
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "LC3 (Low Complexity Communication Codec) is an efficient low latency audio codec";
|
|
homepage = "https://github.com/google/liblc3";
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ jansol ];
|
|
};
|
|
}
|
|
|