pythonPackages.flask_oauthlib: init at 0.9.3
This commit is contained in:
parent
b3bef109c2
commit
f957ce45c4
29
pkgs/development/python-modules/flask-oauthlib.nix
Normal file
29
pkgs/development/python-modules/flask-oauthlib.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||
, flask, oauthlib, requests_oauthlib, flask_sqlalchemy
|
||||
, mock, nose}:
|
||||
buildPythonPackage rec {
|
||||
name = "Flask-OAuthlib-${version}";
|
||||
version = "0.9.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lepture";
|
||||
repo = "flask-oauthlib";
|
||||
rev = "v${version}";
|
||||
sha256 = "1vnr2kmbwl6mv2fsv92jjxzfibq2m3pnbcs6ba9k32jr1ci7wfh7";
|
||||
};
|
||||
|
||||
buildInputs = [ mock nose ];
|
||||
propagatedBuildInputs = [
|
||||
flask flask_sqlalchemy oauthlib requests_oauthlib
|
||||
];
|
||||
|
||||
checkPhase = "nosetests -d";
|
||||
doCheck = false; # request mocking fails
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "OAuthlib implementation for Flask";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.mic92 ];
|
||||
homepage = https://github.com/lepture/flask-oauthlib;
|
||||
};
|
||||
}
|
@ -11351,6 +11351,8 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
flask_oauthlib = callPackage ../development/python-modules/flask-oauthlib.nix { };
|
||||
|
||||
flask_principal = buildPythonPackage rec {
|
||||
name = "Flask-Principal-${version}";
|
||||
version = "0.4.0";
|
||||
|
Loading…
Reference in New Issue
Block a user