depot/third_party/nixpkgs/pkgs/development/libraries/liblc3/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

38 lines
701 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
}:
let
name = "liblc3";
version = "1.0.2";
in
stdenv.mkDerivation {
pname = name;
version = version;
src = fetchFromGitHub {
owner = "google";
repo = "liblc3";
rev = "v${version}";
sha256 = "sha256-Be+dPUnxC2+cHzqL2FAqXOU7NjEAHiPBKh7spuYkvhc=";
};
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 ];
};
}