selfprivacy-rest-api/default.nix

35 lines
657 B
Nix
Raw Permalink Normal View History

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