diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 9607e1a9c2e29..6a4493598f478 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -14624,6 +14624,13 @@ github = "oaksoaj"; githubId = 103952141; }; + ob7 = { + name = "ob7"; + email = "dev@ob7.us"; + github = "ob7"; + githubId = 6877929; + keys = [ { fingerprint = "5C1C 0251 FA85 8C62 0E96 7AC5 2766 5625 0571 34E4"; } ]; + }; obadz = { email = "obadz-nixos@obadz.com"; github = "obadz"; diff --git a/pkgs/by-name/te/tenere/package.nix b/pkgs/by-name/te/tenere/package.nix new file mode 100644 index 0000000000000..fd2a56b74331e --- /dev/null +++ b/pkgs/by-name/te/tenere/package.nix @@ -0,0 +1,26 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, +}: +rustPlatform.buildRustPackage rec { + pname = "tenere"; + version = "0.11.2-unstable-2024-12-05"; + src = fetchFromGitHub { + owner = "pythops"; + repo = "tenere"; + rev = "0f3181ab23066aa69aa4fec387a7e16578078179"; + hash = "sha256-HKPCX0bmXkB3LwvgE1li3dlWTgpW5CXuWZNq3mFY6FY="; + }; + cargoHash = "sha256-u6QCs3RaLeRoVfhRzUG7wwx7kd0O3KyiC5vhZ3mE7UM="; + + requiredSystemFeatures = [ "big-parallel" ]; # for fat LTO from upstream + + meta = { + description = "Terminal interface for large language models (LLMs)"; + homepage = "https://github.com/pythops/tenere"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ ob7 ]; + mainProgram = "tenere"; + }; +}