selfprivacy-rest-api/default.nix

34 lines
689 B
Nix
Raw Normal View History

{ pythonPackages, rev ? "local" }:
2023-09-17 22:09:00 +00:00
pythonPackages.buildPythonPackage rec {
2023-09-17 22:09:00 +00:00
pname = "selfprivacy-graphql-api";
version = rev;
2023-09-17 22:09:00 +00:00
src = builtins.filterSource (p: t: p != ".git" && t != "symlink") ./.;
nativeCheckInputs = [ pythonPackages.pytestCheckHook ];
2023-09-17 22:09:00 +00:00
propagatedBuildInputs = with pythonPackages; [
fastapi
gevent
huey
mnemonic
portalocker
psutil
pydantic
pytest
pytest-datadir
pytest-mock
pytz
redis
setuptools
strawberry-graphql
typing-extensions
uvicorn
];
pythonImportsCheck = [ "selfprivacy_api" ];
2023-12-18 17:26:16 +00:00
doCheck = false;
2023-09-17 22:09:00 +00:00
meta = {
description = ''
SelfPrivacy Server Management API
'';
};
}