-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdefault.nix
More file actions
56 lines (55 loc) · 1.24 KB
/
default.nix
File metadata and controls
56 lines (55 loc) · 1.24 KB
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
47
48
49
50
51
52
53
54
55
56
{ pythonPackages, rev ? "local" }:
pythonPackages.buildPythonPackage {
pname = "selfprivacy-graphql-api";
version = rev;
src = builtins.filterSource (p: t: p != ".git" && t != "symlink") ./.;
pyproject = true;
propagatedBuildInputs = with pythonPackages; ([
fastapi
gevent
huey
mnemonic
portalocker
psutil
pydantic
pytz
redis
systemd-python
sdbus
setuptools
strawberry-graphql
typing-extensions
uvicorn
requests
websockets
httpx
passlib # password hasher
authlib
jinja2
itsdangerous
qrcode
pypng
python-multipart
bleach
argon2-cffi
diceware
grpcio
opentelemetry-api
opentelemetry-sdk
opentelemetry-exporter-otlp-proto-grpc
opentelemetry-instrumentation-fastapi
opentelemetry-instrumentation-httpx
opentelemetry-instrumentation-redis
(callPackage ./nixos/packages/opentelemetry-instrumentation-threading { })
# opentelemetry-instrumentation-jinja2
opentelemetry-instrumentation
aiofiles
] ++ strawberry-graphql.optional-dependencies.opentelemetry);
pythonImportsCheck = [ "selfprivacy_api" ];
doCheck = false;
meta = {
description = ''
SelfPrivacy Server Management API
'';
};
}