{ nixpkgs ? import { }, pythonPkgs ? nixpkgs.pkgs.python310Packages }: let inherit (nixpkgs) pkgs; inherit pythonPkgs; selfprivacy-graphql-api = { buildPythonPackage , fetchPypi , setuptools , portalocker , pytz , pytest , pytest-mock , pytest-datadir , huey , gevent , mnemonic , pydantic , typing-extensions , strawberry-graphql , psutil , fastapi , uvicorn , redis }: pythonPkgs.buildPythonApplication rec { pname = "selfprivacy-graphql-api"; version = "2.1.2"; src = builtins.fetchGit { url = "https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git"; rev = "0ef6569d976fee8ce6f26babb0cf49cde1a2b805"; ref = "restic-rewrite-api"; }; propagatedBuildInputs = [ setuptools portalocker pytz pytest pytest-mock pytest-datadir huey gevent mnemonic pydantic typing-extensions strawberry-graphql psutil fastapi uvicorn redis ]; meta = { description = '' SelfPrivacy Server Management API ''; }; passthru = { pythonPath = pythonPkgs.makePythonPath propagatedBuildInputs; }; }; drv = pythonPkgs.callPackage selfprivacy-graphql-api { }; in drv