Move to buildPythonApplication

This commit is contained in:
Inex Code 2022-08-12 17:43:34 +04:00
parent 1a3b6c8782
commit 24b20043a1

View file

@ -23,12 +23,12 @@ let
, fastapi
, uvicorn
}:
buildPythonPackage rec {
buildPythonApplication rec {
pname = "selfprivacy-graphql-api";
version = "2.0.0";
src = builtins.fetchGit {
url = "https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git";
rev = "a96f6bd06733199cf4af3b05acdce1f1d43c85c2";
rev = "43675b2d1d1e8b9ff3a66b47afbb73ff3de63425";
ref = "graphql";
};
propagatedBuildInputs = [
@ -53,6 +53,9 @@ let
SelfPrivacy Server Management API
'';
};
passthru = {
pythonPath = python.pkgs.makePythonPath propagatedBuildInputs;
};
};
drv = pythonPkgs.callPackage selfprivacy-graphql-api { };
in