pythonPackages.flask-openid: init at 1.2.5

This commit is contained in:
Chris Ostrouchov 2019-07-18 18:41:28 -04:00 committed by Ariel
parent 995d4b256e
commit 749478d1a7
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchPypi
, flask
, python3-openid
, python-openid
, isPy27
}:
buildPythonPackage rec {
pname = "flask-openid";
version = "1.2.5";
src = fetchPypi {
pname = "Flask-OpenID";
inherit version;
sha256 = "5a8ffe1c8c0ad1cc1f5030e1223ea27f8861ee0215a2a58a528cc61379e5ccab";
};
propagatedBuildInputs = [
flask
] ++ (if isPy27 then [ python-openid ] else [ python3-openid ]);
# no tests for repo...
doCheck = false;
meta = with lib; {
description = "OpenID support for Flask";
homepage = http://github.com/mitsuhiko/flask-openid/;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -3241,6 +3241,8 @@ in {
flask_oauthlib = callPackage ../development/python-modules/flask-oauthlib { };
flask-openid = callPackage ../development/python-modules/flask-openid { };
flask-paginate = callPackage ../development/python-modules/flask-paginate { };
flask_principal = callPackage ../development/python-modules/flask-principal { };