2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, jupyterhub
|
|
|
|
, ldap3
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyterhub-ldapauthenticator";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "1.3.2";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "758081bbdb28b26313bb18c9d8aa2b8fcdc9162e4d3ab196c626567e64f1ab8b";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests implemented
|
|
|
|
doCheck = false;
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ jupyterhub ldap3 ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple LDAP Authenticator Plugin for JupyterHub";
|
|
|
|
homepage = "https://github.com/jupyterhub/ldapauthenticator";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|