-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.nix
46 lines (45 loc) · 896 Bytes
/
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
35
36
37
38
39
40
41
42
43
44
45
46
{
setuptools,
pythonOlder,
python-telegram-bot,
aiosqlite,
objgraph,
apscheduler,
pytz,
aio-pika,
pkgs,
buildPythonPackage,
hatchling,
setuptools-scm,
...
}:
buildPythonPackage {
pname = "antares-bot";
version = "0.1.0";
src = ./.;
pyproject = true;
build-system = [
setuptools
setuptools-scm
];
disabled = pythonOlder "3.10";
dependencies = [
(python-telegram-bot.overrideAttrs (super: {
src = pkgs.fetchFromGitHub {
# antares-ptb
owner = "Antares0982";
repo = "python-telegram-bot";
rev = "v21.5";
sha256 = "sha256-xQLaiMh+O8NGHSgGvQVPzsXxfbN60EmIhYTRaDd2zPg=";
};
doCheck = false;
doInstallCheck = false;
propagatedBuildInputs = super.propagatedBuildInputs ++ (with pkgs; [ hatchling ]);
}))
aiosqlite
objgraph
apscheduler
pytz
aio-pika
];
}