aider-chat: add playwright version (#354796)

This commit is contained in:
Yt 2024-11-09 15:35:21 -05:00 committed by GitHub
commit 2dcf8afc60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,8 +13,7 @@ let
packageOverrides = _: super: { tree-sitter = super.tree-sitter_0_21; };
};
version = "0.62.0";
in
python3.pkgs.buildPythonApplication {
aider-chat = python3.pkgs.buildPythonApplication {
pname = "aider-chat";
inherit version;
pyproject = true;
@ -167,6 +166,15 @@ python3.pkgs.buildPythonApplication {
];
};
passthru = {
withPlaywright = aider-chat.overridePythonAttrs (
{ dependencies, ... }:
{
dependencies = dependencies ++ aider-chat.optional-dependencies.playwright;
}
);
};
meta = {
description = "AI pair programming in your terminal";
homepage = "https://github.com/paul-gauthier/aider";
@ -175,4 +183,6 @@ python3.pkgs.buildPythonApplication {
maintainers = with lib.maintainers; [ taha-yassine ];
mainProgram = "aider";
};
}
};
in
aider-chat