mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo.git
synced 2024-11-26 14:01:31 +00:00
Move to buildPythonApplication
This commit is contained in:
parent
1a3b6c8782
commit
24b20043a1
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue