2018-02-24 13:16:18 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, jupyterhub
|
|
|
|
, ldap3
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyterhub-ldapauthenticator";
|
2018-06-21 07:37:17 +02:00
|
|
|
version = "1.2.2";
|
2018-02-24 13:16:18 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-21 07:37:17 +02:00
|
|
|
sha256 = "5bba2ee246834130c9f86c13d39585b1af21563b814fa03aacb26b6696dd7e20";
|
2018-02-24 13:16:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests implemented
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ jupyterhub ldap3 ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple LDAP Authenticator Plugin for JupyterHub";
|
|
|
|
homepage = https://github.com/jupyterhub/ldapauthenticator;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ ixxie ];
|
|
|
|
};
|
|
|
|
}
|