nix: add missing meta attributes

This commit is contained in:
Someone Serge 2023-12-25 17:32:44 +00:00
parent 0e614077c3
commit 5dfe9ba4b6
No known key found for this signature in database
GPG key ID: 7B0E3B1390D61DA4

View file

@ -178,18 +178,24 @@ effectiveStdenv.mkDerivation (
}; };
meta = { meta = {
broken = (useCuda && effectiveStdenv.isDarwin) || (useMetalKit && !effectiveStdenv.isDarwin);
description = "Inference of LLaMA model in pure C/C++${descriptionSuffix}"; description = "Inference of LLaMA model in pure C/C++${descriptionSuffix}";
mainProgram = "llama"; homepage = "https://github.com/ggerganov/llama.cpp/";
license = lib.licenses.mit;
# Accommodates `nix run` and `lib.getExe`
mainProgram = "llama";
# These people might respond if you ping them in case of Nix-specific # These people might respond if you ping them in case of Nix-specific
# regressions or for reviewing Nix-specific PRs. # regressions or for reviewing Nix-specific PRs.
# Note that lib.maintainers is defined in Nixpkgs. # Note that lib.maintainers is defined in Nixpkgs.
maintainers = with lib.maintainers; [ maintainers = with lib.maintainers; [
philiptaron philiptaron
SomeoneSerge SomeoneSerge
]; ];
platforms = lib.platforms.unix;
}; };
} }
) )