2022-02-04 20:47:01 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
python ? pkgs.python39,
|
|
|
|
...}:
|
|
|
|
let
|
2022-02-19 09:22:21 +00:00
|
|
|
|
2022-02-04 20:47:01 +00:00
|
|
|
urlobject = with python.pkgs; buildPythonPackage rec {
|
|
|
|
pname = "URLObject";
|
|
|
|
version = "2.4.3";
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "47b2e20e6ab9c8366b2f4a3566b6ff4053025dad311c4bb71279bbcfa2430caa";
|
|
|
|
};
|
|
|
|
doCheck = true;
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2022-02-19 22:16:13 +00:00
|
|
|
python_attrs = with python.pkgs; buildPythonPackage rec {
|
|
|
|
pname = "attrs";
|
|
|
|
version = "21.4.0";
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd";
|
|
|
|
};
|
|
|
|
#doCheck = true;
|
|
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
];
|
|
|
|
};
|
2022-02-04 20:47:01 +00:00
|
|
|
|
|
|
|
flask-dance = with python.pkgs; buildPythonPackage rec {
|
|
|
|
pname = "Flask-Dance";
|
|
|
|
version = "5.1.0";
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "9eb5a404ef1b06a58aabbe5ac496908bda0482af1cf08e8c00188493405842fd";
|
|
|
|
};
|
|
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
oauthlib
|
|
|
|
requests_oauthlib
|
|
|
|
flask
|
|
|
|
urlobject
|
|
|
|
];
|
|
|
|
checkInputs = [
|
|
|
|
pytest
|
2022-02-19 22:16:13 +00:00
|
|
|
nose
|
2022-02-04 20:47:01 +00:00
|
|
|
pytest-mock
|
|
|
|
responses
|
|
|
|
freezegun
|
|
|
|
coverage
|
|
|
|
# testing sqlalchemy support
|
|
|
|
sqlalchemy
|
|
|
|
flask_sqlalchemy
|
|
|
|
# testing integration with other extensions
|
|
|
|
flask_login
|
|
|
|
flask-caching
|
|
|
|
betamax
|
|
|
|
# we need the `signedtoken` extra for `oauthlib`
|
|
|
|
# oauthlib[signedtoken]
|
|
|
|
];
|
|
|
|
|
|
|
|
};
|
|
|
|
ldap3-orm = with python.pkgs; buildPythonPackage rec {
|
|
|
|
pname = "ldap3-orm";
|
|
|
|
version = "2.7.0";
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "8783886d4ce90d66da61ce24619593a265b50f0de1fbebe86df95c6788661664";
|
|
|
|
};
|
|
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
ldap3
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
};
|
|
|
|
u2flib-server = {};
|
2022-02-19 09:22:21 +00:00
|
|
|
ory-hydra-client-old = with python.pkgs; buildPythonPackage rec {
|
2022-02-04 20:47:01 +00:00
|
|
|
pname = "ory-hydra-client";
|
|
|
|
version = "1.10.6";
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "57f877e55a8f202db27f5cbae9c55a1b1a91848ef46d0cbd3b710ef77882095c";
|
|
|
|
};
|
|
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
urllib3
|
|
|
|
python-dateutil
|
|
|
|
];
|
2022-02-19 09:22:21 +00:00
|
|
|
};
|
|
|
|
ory-hydra-client = with python.pkgs; buildPythonPackage rec {
|
|
|
|
pname = "ory-hydra-client";
|
|
|
|
version = "1.9.2";
|
|
|
|
src = ./libs/ory-hydra-client;
|
|
|
|
# doCheck = false;
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
urllib3
|
|
|
|
python-dateutil
|
2022-02-19 22:16:13 +00:00
|
|
|
python_attrs
|
2022-02-19 09:22:21 +00:00
|
|
|
httpx
|
|
|
|
];
|
2022-02-04 20:47:01 +00:00
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
nativeBuildInputs = with python.pkgs; [
|
|
|
|
flask
|
|
|
|
flask-restful
|
|
|
|
flask_sqlalchemy
|
|
|
|
flask_wtf
|
|
|
|
flask-babel
|
|
|
|
flask_login
|
|
|
|
requests
|
|
|
|
requests_oauthlib
|
|
|
|
ldap3
|
|
|
|
ldap3-orm
|
|
|
|
pyotp
|
|
|
|
cryptography
|
|
|
|
blinker
|
|
|
|
ory-hydra-client
|
2022-02-19 22:16:13 +00:00
|
|
|
authlib
|
2022-02-04 20:47:01 +00:00
|
|
|
|
|
|
|
gunicorn
|
|
|
|
|
|
|
|
flask-dance
|
|
|
|
|
|
|
|
#python-u2flib-server
|
|
|
|
|
|
|
|
|
|
|
|
#flask-debug
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
testBuildInputs = with python.pkgs; [
|
|
|
|
pytest
|
|
|
|
pytest-mypy
|
|
|
|
flask_testing
|
|
|
|
tox
|
2022-02-19 22:16:13 +00:00
|
|
|
|
|
|
|
nose
|
2022-02-04 20:47:01 +00:00
|
|
|
mypy
|
|
|
|
];
|
|
|
|
}
|