mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo.git
synced 2024-11-26 14:01:31 +00:00
Move pythonPkgs
This commit is contained in:
parent
bb7641fdf4
commit
0970931614
|
@ -2,30 +2,9 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
inherit pythonPkgs;
|
|
||||||
|
|
||||||
selfprivacy-api =
|
selfprivacy-api =
|
||||||
{ buildPythonPackage
|
pythonPkgs.buildPythonPackage rec {
|
||||||
, fetchPypi
|
|
||||||
, flask
|
|
||||||
, flask-restful
|
|
||||||
, flask-cors
|
|
||||||
, setuptools
|
|
||||||
, portalocker
|
|
||||||
, flask-swagger
|
|
||||||
, flask-swagger-ui
|
|
||||||
, pytz
|
|
||||||
, pytest
|
|
||||||
, pytest-mock
|
|
||||||
, pytest-datadir
|
|
||||||
, huey
|
|
||||||
, gevent
|
|
||||||
, mnemonic
|
|
||||||
, pydantic
|
|
||||||
, strawberry_graphql
|
|
||||||
, psutil
|
|
||||||
}:
|
|
||||||
buildPythonPackage rec {
|
|
||||||
pname = "selfprivacy-api";
|
pname = "selfprivacy-api";
|
||||||
version = "1.2.6";
|
version = "1.2.6";
|
||||||
src = builtins.fetchGit {
|
src = builtins.fetchGit {
|
||||||
|
@ -33,7 +12,7 @@ let
|
||||||
rev = "9132b70e709b19ddc393859ce23f8a5c342fa4e8";
|
rev = "9132b70e709b19ddc393859ce23f8a5c342fa4e8";
|
||||||
ref = "test-branch";
|
ref = "test-branch";
|
||||||
};
|
};
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = with pythonPkgs; [
|
||||||
flask
|
flask
|
||||||
flask-restful
|
flask-restful
|
||||||
flask-cors
|
flask-cors
|
||||||
|
|
|
@ -2,27 +2,8 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
inherit pythonPkgs;
|
|
||||||
|
|
||||||
selfprivacy-graphql-api =
|
selfprivacy-graphql-api =
|
||||||
{ buildPythonPackage
|
|
||||||
, fetchPypi
|
|
||||||
, setuptools
|
|
||||||
, portalocker
|
|
||||||
, pytz
|
|
||||||
, pytest
|
|
||||||
, pytest-mock
|
|
||||||
, pytest-datadir
|
|
||||||
, huey
|
|
||||||
, gevent
|
|
||||||
, mnemonic
|
|
||||||
, pydantic
|
|
||||||
, typing-extensions
|
|
||||||
, strawberry_graphql
|
|
||||||
, psutil
|
|
||||||
, fastapi
|
|
||||||
, uvicorn
|
|
||||||
}:
|
|
||||||
pythonPkgs.buildPythonApplication rec {
|
pythonPkgs.buildPythonApplication rec {
|
||||||
pname = "selfprivacy-graphql-api";
|
pname = "selfprivacy-graphql-api";
|
||||||
version = "2.0.0";
|
version = "2.0.0";
|
||||||
|
@ -31,7 +12,7 @@ let
|
||||||
rev = "43675b2d1d1e8b9ff3a66b47afbb73ff3de63425";
|
rev = "43675b2d1d1e8b9ff3a66b47afbb73ff3de63425";
|
||||||
ref = "fastapi";
|
ref = "fastapi";
|
||||||
};
|
};
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = with pythonPkgs; [
|
||||||
setuptools
|
setuptools
|
||||||
portalocker
|
portalocker
|
||||||
pytz
|
pytz
|
||||||
|
|
Loading…
Reference in a new issue