1{ lib
2, buildPythonPackage
3, jupyterhub
4, ldap3
5, fetchPypi
6}:
7
8buildPythonPackage rec {
9 pname = "jupyterhub-ldapauthenticator";
10 version = "1.3.2";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "758081bbdb28b26313bb18c9d8aa2b8fcdc9162e4d3ab196c626567e64f1ab8b";
15 };
16
17 # No tests implemented
18 doCheck = false;
19
20 propagatedBuildInputs = [ jupyterhub ldap3 ];
21
22 meta = with lib; {
23 description = "Simple LDAP Authenticator Plugin for JupyterHub";
24 homepage = "https://github.com/jupyterhub/ldapauthenticator";
25 license = licenses.bsd3;
26 maintainers = with maintainers; [ ixxie ];
27 };
28}