add python deps & playwright

This commit is contained in:
Jan Bader
2026-04-04 20:38:40 +02:00
parent d343a48af1
commit 75a4ab20fd
2 changed files with 82 additions and 1 deletions

View File

@@ -17,8 +17,26 @@
in with pkgs; rec {
devShell = pkgs.mkShell {
packages = with pkgs; [
python3
(python3.withPackages (ps: [
ps.requests
ps.beautifulsoup4
ps.lxml
ps."youtube-transcript-api"
ps.pytube
ps.playwright
ps.markdown
ps."python-dotenv"
ps.pydantic
ps."python-dateutil"
]))
playwright-driver.browsers
];
shellHook = ''
export PLAYWRIGHT_BROWSERS_PATH=${pkgs.playwright-driver.browsers}
export PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS=true
export PLAYWRIGHT_HOST_PLATFORM_OVERRIDE="ubuntu-24.04"
'';
};
}
);