pythonPackages.oauthenticator: init at 0.7.2
This commit is contained in:
parent
e2487ba88d
commit
e4718a81bf
46
pkgs/development/python-modules/oauthenticator/default.nix
Normal file
46
pkgs/development/python-modules/oauthenticator/default.nix
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, jupyterhub
|
||||||
|
, globus-sdk
|
||||||
|
, mwoauth
|
||||||
|
, codecov
|
||||||
|
, flake8
|
||||||
|
, pyjwt
|
||||||
|
, pytest
|
||||||
|
, pytestcov
|
||||||
|
, pytest-tornado
|
||||||
|
, requests-mock
|
||||||
|
, pythonOlder
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "oauthenticator";
|
||||||
|
version = "0.7.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0rlg63ii7sxj1xad2nx6wk1xgv3a8dm0az0q9g2v6hdv9cnc4b55";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test oauthenticator/tests
|
||||||
|
'';
|
||||||
|
|
||||||
|
# No tests in archive
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
checkInputs = [ globus-sdk mwoauth codecov flake8 pytest
|
||||||
|
pytestcov pytest-tornado requests-mock pyjwt ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ jupyterhub ];
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.4";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Authenticate JupyterHub users with common OAuth providers, including GitHub, Bitbucket, and more.";
|
||||||
|
homepage = https://github.com/jupyterhub/oauthenticator;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ ixxie ];
|
||||||
|
};
|
||||||
|
}
|
@ -263,6 +263,8 @@ in {
|
|||||||
|
|
||||||
ntlm-auth = callPackage ../development/python-modules/ntlm-auth { };
|
ntlm-auth = callPackage ../development/python-modules/ntlm-auth { };
|
||||||
|
|
||||||
|
oauthenticator = callPackage ../development/python-modules/oauthenticator { };
|
||||||
|
|
||||||
plantuml = callPackage ../tools/misc/plantuml { };
|
plantuml = callPackage ../tools/misc/plantuml { };
|
||||||
|
|
||||||
Pmw = callPackage ../development/python-modules/Pmw { };
|
Pmw = callPackage ../development/python-modules/Pmw { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user