Files
nixpkgs/pkgs/by-name/li/liblc3/package.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

42 lines
718 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
meson,
ninja,
}:
let
name = "liblc3";
version = "1.1.3";
in
stdenv.mkDerivation {
pname = name;
version = version;
src = fetchFromGitHub {
owner = "google";
repo = "liblc3";
rev = "v${version}";
sha256 = "sha256-4KsvCQ1JZaj0yCT7En7ZcNk0rA8LyDwwcSga2IoVd6A=";
};
outputs = [
"out"
"dev"
];
nativeBuildInputs = [
meson
ninja
];
meta = {
description = "LC3 (Low Complexity Communication Codec) is an efficient low latency audio codec";
homepage = "https://github.com/google/liblc3";
license = lib.licenses.asl20;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ jansol ];
};
}