nixpkgs/pkgs/by-name/li/liblc3/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
700 B
Nix
Raw Normal View History

2022-10-04 18:27:19 +00:00
{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
}:
let
name = "liblc3";
2024-04-21 16:43:20 +00:00
version = "1.1.1";
2022-10-04 18:27:19 +00:00
in
stdenv.mkDerivation {
pname = name;
version = version;
src = fetchFromGitHub {
owner = "google";
repo = "liblc3";
rev = "v${version}";
2024-04-21 16:43:20 +00:00
sha256 = "sha256-h9qy04FqlHXp0bOUoP4+WqI0yrM78e56S+DEn3HztYo=";
2022-10-04 18:27:19 +00:00
};
2023-04-17 07:01:33 +00:00
outputs = [ "out" "dev" ];
2022-10-04 18:27:19 +00:00
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;
2024-04-15 01:29:51 +00:00
platforms = platforms.unix;
2022-10-04 18:27:19 +00:00
maintainers = with maintainers; [ jansol ];
};
}