mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-05 11:03:12 +00:00
35 lines
696 B
Nix
35 lines
696 B
Nix
{ pythonPackages }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
pname = "selfprivacy-graphql-api";
|
|
version = "local";
|
|
src = builtins.filterSource (p: t: p != ".git" && t != "symlink") ./.;
|
|
propagatedBuildInputs = with pythonPackages; [
|
|
fastapi
|
|
gevent
|
|
huey
|
|
mnemonic
|
|
portalocker
|
|
psutil
|
|
pydantic
|
|
pytest
|
|
pytest-datadir
|
|
pytest-mock
|
|
pytz
|
|
redis
|
|
setuptools
|
|
strawberry-graphql
|
|
typing-extensions
|
|
uvicorn
|
|
];
|
|
meta = {
|
|
description = ''
|
|
SelfPrivacy Server Management API
|
|
'';
|
|
};
|
|
passthru = {
|
|
# TODO explain what's the purpose of this?
|
|
pythonPath = pythonPackages.makePythonPath propagatedBuildInputs;
|
|
};
|
|
}
|