ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / oauthenticator / default.nix
blob4e1b032de0ec99e287c550680bfbde102fc8da1c
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchPypi
5 , google-api-python-client
6 , google-auth-oauthlib
7 , jupyterhub
8 , mwoauth
9 , pyjwt
10 , pytest-asyncio
11 , pytestCheckHook
12 , requests-mock
15 buildPythonPackage rec {
16   pname = "oauthenticator";
17   version = "15.1.0";
18   format = "setuptools";
20   disabled = pythonOlder "3.6";
22   src = fetchPypi {
23     inherit pname version;
24     hash = "sha256-0dmHPJtm4a+XMpGWi5Vz0lN4vYxkfzDXO42PsnsaC4U=";
25   };
27   propagatedBuildInputs = [
28     jupyterhub
29   ];
31   checkInputs = [
32     google-api-python-client
33     google-auth-oauthlib
34     mwoauth
35     pyjwt
36     pytest-asyncio
37     pytestCheckHook
38     requests-mock
39   ];
41   disabledTests = [
42     # Tests are outdated, https://github.com/jupyterhub/oauthenticator/issues/432
43     "test_azuread"
44     "test_mediawiki"
45   ];
47   pythonImportsCheck = [
48     "oauthenticator"
49   ];
51   meta = with lib; {
52     description = "Authenticate JupyterHub users with common OAuth providers, including GitHub, Bitbucket, and more.";
53     homepage =  "https://github.com/jupyterhub/oauthenticator";
54     license = licenses.bsd3;
55     maintainers = with maintainers; [ ixxie ];
56   };