2019-07-18 23:41:28 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, flask
|
|
|
|
, python3-openid
|
2019-11-15 21:14:25 +00:00
|
|
|
, isPy3k
|
2019-07-18 23:41:28 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flask-openid";
|
|
|
|
version = "1.2.5";
|
2019-11-15 21:14:25 +00:00
|
|
|
disable = !isPy3k;
|
2019-07-18 23:41:28 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "Flask-OpenID";
|
|
|
|
inherit version;
|
|
|
|
sha256 = "5a8ffe1c8c0ad1cc1f5030e1223ea27f8861ee0215a2a58a528cc61379e5ccab";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
flask
|
2019-11-15 21:14:25 +00:00
|
|
|
python3-openid
|
|
|
|
];
|
2019-07-18 23:41:28 +01:00
|
|
|
|
|
|
|
# no tests for repo...
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "OpenID support for Flask";
|
2019-11-21 23:15:58 +00:00
|
|
|
homepage = https://pythonhosted.org/Flask-OpenID/;
|
2019-07-18 23:41:28 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|