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