mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-21 19:51:28 +00:00
dettlaff
4cd90d0c93
Co-authored-by: nhnn <nhnn@disroot.org> Co-authored-by: Inex Code <inex.code@selfprivacy.org> Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/120 Co-authored-by: dettlaff <dettlaff@riseup.net> Co-committed-by: dettlaff <dettlaff@riseup.net>
34 lines
635 B
Nix
34 lines
635 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
|
|
systemd
|
|
setuptools
|
|
strawberry-graphql
|
|
typing-extensions
|
|
uvicorn
|
|
requests
|
|
websockets
|
|
httpx
|
|
];
|
|
pythonImportsCheck = [ "selfprivacy_api" ];
|
|
doCheck = false;
|
|
meta = {
|
|
description = ''
|
|
SelfPrivacy Server Management API
|
|
'';
|
|
};
|
|
}
|