blob: 838035c600a180b87ec6eb3fc67ffe098664bf8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
outputs = { self, nixpkgs, ... }: let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; config.allowUnfree = true; };
in {
devShells.${system}.default = pkgs.mkShell {
buildInputs = with pkgs; [
(python3.withPackages (p: [
p.selenium
p.opencv-python
p.pytesseract
p.beautifulsoup4
p.tinydb
p.fastapi
p.uvicorn
p.jinja2
p.streamlit
p.gradio
# p.pdf2image
# p.openai-whisper
# p.torch-bin
]))
pyright
firefox
geckodriver
tesseract
nodejs_22
vtsls
];
};
};
}
|