1{ lib
2, buildPythonPackage
3, jupyterhub
4, ldap3
5, fetchPypi
6}:
7
8buildPythonPackage rec {
9 pname = "jupyterhub-ldapauthenticator";
10 version = "1.2.2";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "5bba2ee246834130c9f86c13d39585b1af21563b814fa03aacb26b6696dd7e20";
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}