selfprivacy-rest-api/default.nix
Alexander Tomokhov 1ec6be59fd flake: NixOS VM Test for running pytest with Redis; nix flake check
+ refactor getting python module from API package
+ readme: nixpkgs flake input update
2024-02-01 00:05:16 +04:00

30 lines
585 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
setuptools
strawberry-graphql
typing-extensions
uvicorn
];
pythonImportsCheck = [ "selfprivacy_api" ];
doCheck = false;
meta = {
description = ''
SelfPrivacy Server Management API
'';
};
}