2018-02-24 12:16:18 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, jupyterhub
|
|
|
|
, ldap3
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyterhub-ldapauthenticator";
|
2020-08-29 12:41:49 +01:00
|
|
|
version = "1.3.2";
|
2018-02-24 12:16:18 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-29 12:41:49 +01:00
|
|
|
sha256 = "758081bbdb28b26313bb18c9d8aa2b8fcdc9162e4d3ab196c626567e64f1ab8b";
|
2018-02-24 12:16:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests implemented
|
|
|
|
doCheck = false;
|
2020-08-25 03:07:09 +01:00
|
|
|
|
2018-02-24 12:16:18 +00:00
|
|
|
propagatedBuildInputs = [ jupyterhub ldap3 ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple LDAP Authenticator Plugin for JupyterHub";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/jupyterhub/ldapauthenticator";
|
2018-02-24 12:16:18 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ ixxie ];
|
|
|
|
};
|
|
|
|
}
|