tabby: init at 0.6.0

This commit is contained in:
Elliot Cameron
2024-02-26 23:39:33 -05:00
committed by Will Owens
parent 73de017ef2
commit a34ed79eaa
2 changed files with 43 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
{ lib
, fetchFromGitHub
, cmake
, git
, openssl
, pkg-config
, protobuf
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
version = "0.6.0";
pname = "tabby";
src = fetchFromGitHub {
owner = "TabbyML";
repo = pname;
rev = "v${version}";
hash = "sha256-cZvfJMFsf7m8o5YKpsJpcrRmxJCQOFxrDzJZXMzVeFA=";
fetchSubmodules = true;
};
cargoHash = "sha256-iv8MpBfGGUFkjUZ9eAGq65vCy62VJQGTYIS0r9GRyfo=";
OPENSSL_NO_VENDOR = 1;
nativeBuildInputs = [ pkg-config protobuf git cmake ];
buildInputs = [ openssl ];
# Fails with:
# file cannot create directory: /var/empty/local/lib64/cmake/Llama
doCheck = false;
meta = with lib; {
description = "Self-hosted AI coding assistant";
mainProgram = "tabby";
license = licenses.asl20;
maintainers = teams.deshaw.members;
};
}
+2
View File
@@ -6431,6 +6431,8 @@ with pkgs;
recyclarr = callPackage ../tools/video/recyclarr { };
tabby = callPackage ../development/tools/tabby { };
tsduck = callPackage ../tools/video/tsduck { };
turso-cli = callPackage ../development/tools/turso-cli {};