depot/third_party/nixpkgs/pkgs/development/python-modules/flask-openid/default.nix

35 lines
639 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, flask
, python3-openid
, isPy3k
}:
buildPythonPackage rec {
pname = "flask-openid";
version = "1.3.0";
disable = !isPy3k;
src = fetchPypi {
pname = "Flask-OpenID";
inherit version;
sha256 = "539289ed2d19af61ae38d8fe46aec9e4de2b56f9f8b46da0b98c0d387f1d975a";
};
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 ];
};
}