mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-22 04:01:27 +00:00
35 lines
657 B
Nix
35 lines
657 B
Nix
{ pythonPackages, rev ? "local", pkgs }:
|
|
|
|
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
|
|
systemd
|
|
setuptools
|
|
strawberry-graphql
|
|
typing-extensions
|
|
uvicorn
|
|
requests
|
|
websockets
|
|
httpx
|
|
pkgs.memray
|
|
];
|
|
pythonImportsCheck = [ "selfprivacy_api" ];
|
|
doCheck = false;
|
|
meta = {
|
|
description = ''
|
|
SelfPrivacy Server Management API
|
|
'';
|
|
};
|
|
}
|