mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo.git
synced 2024-11-23 04:31:26 +00:00
Move to buildPythonApplication
This commit is contained in:
parent
1a3b6c8782
commit
24b20043a1
|
@ -23,12 +23,12 @@ let
|
||||||
, fastapi
|
, fastapi
|
||||||
, uvicorn
|
, uvicorn
|
||||||
}:
|
}:
|
||||||
buildPythonPackage rec {
|
buildPythonApplication rec {
|
||||||
pname = "selfprivacy-graphql-api";
|
pname = "selfprivacy-graphql-api";
|
||||||
version = "2.0.0";
|
version = "2.0.0";
|
||||||
src = builtins.fetchGit {
|
src = builtins.fetchGit {
|
||||||
url = "https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git";
|
url = "https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git";
|
||||||
rev = "a96f6bd06733199cf4af3b05acdce1f1d43c85c2";
|
rev = "43675b2d1d1e8b9ff3a66b47afbb73ff3de63425";
|
||||||
ref = "graphql";
|
ref = "graphql";
|
||||||
};
|
};
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -53,6 +53,9 @@ let
|
||||||
SelfPrivacy Server Management API
|
SelfPrivacy Server Management API
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
passthru = {
|
||||||
|
pythonPath = python.pkgs.makePythonPath propagatedBuildInputs;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
drv = pythonPkgs.callPackage selfprivacy-graphql-api { };
|
drv = pythonPkgs.callPackage selfprivacy-graphql-api { };
|
||||||
in
|
in
|
||||||
|
|
Loading…
Reference in a new issue