9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
38 lines
701 B
Nix
38 lines
701 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, meson
|
|
, ninja
|
|
}:
|
|
|
|
let
|
|
name = "liblc3";
|
|
version = "1.0.3";
|
|
in
|
|
stdenv.mkDerivation {
|
|
pname = name;
|
|
version = version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "google";
|
|
repo = "liblc3";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-PEnK12FWAtxOMR3WyuxOQTgF+lD9S5YX+oKuWRbFfXM=";
|
|
};
|
|
|
|
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.linux;
|
|
maintainers = with maintainers; [ jansol ];
|
|
};
|
|
}
|
|
|