selfprivacy-rest-api/default.nix

34 lines
635 B
Nix
Raw Normal View History

{ 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
2024-07-26 19:59:32 +00:00
httpx
];
pythonImportsCheck = [ "selfprivacy_api" ];
doCheck = false;
meta = {
description = ''
SelfPrivacy Server Management API
'';
};
}