mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
0afae5c14b
Related issue: #60004 Previous PR: #73478
35 lines
637 B
Nix
35 lines
637 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, flask
|
|
, python3-openid
|
|
, isPy3k
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "flask-openid";
|
|
version = "1.2.5";
|
|
disable = !isPy3k;
|
|
|
|
src = fetchPypi {
|
|
pname = "Flask-OpenID";
|
|
inherit version;
|
|
sha256 = "5a8ffe1c8c0ad1cc1f5030e1223ea27f8861ee0215a2a58a528cc61379e5ccab";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
flask
|
|
python3-openid
|
|
];
|
|
|
|
# no tests for repo...
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "OpenID support for Flask";
|
|
homepage = https://pythonhosted.org/Flask-OpenID/;
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|