2023-11-22 05:44:50 +00:00
|
|
|
{ pythonPackages, rev ? "local" }:
|
2023-09-17 22:09:00 +00:00
|
|
|
|
2023-11-22 22:42:38 +00:00
|
|
|
pythonPackages.buildPythonPackage rec {
|
2023-09-17 22:09:00 +00:00
|
|
|
pname = "selfprivacy-graphql-api";
|
2023-11-22 05:44:50 +00:00
|
|
|
version = rev;
|
2023-09-17 22:09:00 +00:00
|
|
|
src = builtins.filterSource (p: t: p != ".git" && t != "symlink") ./.;
|
2023-11-22 22:42:38 +00:00
|
|
|
nativeCheckInputs = [ pythonPackages.pytestCheckHook ];
|
2023-09-17 22:09:00 +00:00
|
|
|
propagatedBuildInputs = with pythonPackages; [
|
|
|
|
fastapi
|
|
|
|
gevent
|
|
|
|
huey
|
|
|
|
mnemonic
|
|
|
|
portalocker
|
|
|
|
psutil
|
|
|
|
pydantic
|
|
|
|
pytest
|
|
|
|
pytest-datadir
|
|
|
|
pytest-mock
|
|
|
|
pytz
|
|
|
|
redis
|
|
|
|
setuptools
|
|
|
|
strawberry-graphql
|
|
|
|
typing-extensions
|
|
|
|
uvicorn
|
|
|
|
];
|
2023-11-22 22:42:38 +00:00
|
|
|
pythonImportsCheck = [ "selfprivacy_api" ];
|
2023-12-18 17:26:16 +00:00
|
|
|
doCheck = false;
|
2023-09-17 22:09:00 +00:00
|
|
|
meta = {
|
|
|
|
description = ''
|
|
|
|
SelfPrivacy Server Management API
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|