1{ lib
2, stdenv
3, fetchFromGitHub
4, meson
5, ninja
6}:
7
8let
9 name = "liblc3";
10 version = "1.0.1";
11in
12stdenv.mkDerivation {
13 pname = name;
14 version = version;
15
16 src = fetchFromGitHub {
17 owner = "google";
18 repo = "liblc3";
19 rev = "v${version}";
20 sha256 = "sha256-W0pCfFmM+6N6+HdGdQ/GBNHjBspkwtlxZC2m2noKGx0=";
21 };
22
23 nativeBuildInputs = [
24 meson
25 ninja
26 ];
27
28 meta = with lib; {
29 description = "LC3 (Low Complexity Communication Codec) is an efficient low latency audio codec";
30 homepage = "https://github.com/google/liblc3";
31 license = licenses.asl20;
32 platforms = platforms.linux;
33 maintainers = with maintainers; [ jansol ];
34 };
35}
36