mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-14 06:33:16 +00:00
34 lines
689 B
Nix
34 lines
689 B
Nix
{ pythonPackages, rev ? "local" }:
|
|
|
|
pythonPackages.buildPythonPackage rec {
|
|
pname = "selfprivacy-graphql-api";
|
|
version = rev;
|
|
src = builtins.filterSource (p: t: p != ".git" && t != "symlink") ./.;
|
|
nativeCheckInputs = [ pythonPackages.pytestCheckHook ];
|
|
propagatedBuildInputs = with pythonPackages; [
|
|
fastapi
|
|
gevent
|
|
huey
|
|
mnemonic
|
|
portalocker
|
|
psutil
|
|
pydantic
|
|
pytest
|
|
pytest-datadir
|
|
pytest-mock
|
|
pytz
|
|
redis
|
|
setuptools
|
|
strawberry-graphql
|
|
typing-extensions
|
|
uvicorn
|
|
];
|
|
pythonImportsCheck = [ "selfprivacy_api" ];
|
|
doCheck = false;
|
|
meta = {
|
|
description = ''
|
|
SelfPrivacy Server Management API
|
|
'';
|
|
};
|
|
}
|