-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.nix
34 lines (33 loc) · 1.05 KB
/
default.nix
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
{ pkgs, poetry2nix }: poetry2nix.mkPoetryApplication {
projectDir = ./.;
python = pkgs.python311;
overrides = poetry2nix.defaultPoetryOverrides.extend (self:
super: {
inherit (pkgs.python311Packages) googleapis-common-protos;
inherit (pkgs.python311Packages)
cachetools
certifi
charset-normalizer
grpcio
grpcio-status
idna
proto-plus
protobuf
pyasn1
pyasn1-modules
requests
rsa
toml
tqdm
typing-extensions
rich
twine
urllib3;
google-ai-generativelanguage = super.google-ai-generativelanguage.overridePythonAttrs (
old: {
buildInputs = (old.buildInputs or [ ]) ++ [ super.setuptools ];
}
);
}
);
}