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